Merge branch 'bug_9141' into 3.12-master
This commit is contained in:
commit
8768162c8e
2 changed files with 4 additions and 4 deletions
|
@ -84,9 +84,9 @@ function moneyFormat(textObj) {
|
|||
</li>
|
||||
</ul>
|
||||
<div class="tabs-container">
|
||||
[% IF ( error ) %]
|
||||
[% IF ( error_over ) %]
|
||||
<div id="error_message" class="dialog alert">
|
||||
[% error %]
|
||||
You must pay a value less than or equal to [% total_due | format('%.2f') %].
|
||||
</div>
|
||||
[% END %]
|
||||
|
||||
|
|
|
@ -97,8 +97,8 @@ if ( $individual || $writeoff ) {
|
|||
if ( $total_paid and $total_paid ne '0.00' ) {
|
||||
if ( $total_paid < 0 or $total_paid > $total_due ) {
|
||||
$template->param(
|
||||
error => sprintf( 'You must pay a value less than or equal to %f.2',
|
||||
$total_due )
|
||||
error_over => 1,
|
||||
total_due => $total_due
|
||||
);
|
||||
} else {
|
||||
if ($individual) {
|
||||
|
|
Loading…
Reference in a new issue