[FIX] website_quote: Accept button displayed in an expired quotation

The accept button must be hidden if the quotation is expired.

opw:630342
This commit is contained in:
Goffin Simon 2015-03-17 09:56:52 +01:00
parent c54d83ebd5
commit e3ae3650de
1 changed files with 2 additions and 1 deletions

View File

@ -156,7 +156,8 @@
<template id="quotation_toolbar">
<div class="text-center hidden-print" t-if="quotation.state in ('draft', 'sent', 'waiting_date')">
<a class="btn btn-success fa fa-check" data-toggle="modal" data-target="#modelaccept">
<a class="btn btn-success fa fa-check" data-toggle="modal" data-target="#modelaccept"
t-if="days_valid">
Accept
</a>
<a class="btn btn-info fa fa-comment" type="submit" href="#discussion">