|
Lines 524-530
Link Here
|
| 524 |
</td> |
524 |
</td> |
| 525 |
[% SET zero_regex = "^0{1,}\.?0{1,}[^1-9]" %] [%# 0 or 0.0 or 0.00 or 00 or 00.0 or 00.00 or 0.000 ... %] |
525 |
[% SET zero_regex = "^0{1,}\.?0{1,}[^1-9]" %] [%# 0 or 0.0 or 0.00 or 00 or 00.0 or 00.00 or 0.000 ... %] |
| 526 |
[%# FIXME: use of a regexp is not ideal; bugs 9410 and 10929 suggest better way of handling this %] |
526 |
[%# FIXME: use of a regexp is not ideal; bugs 9410 and 10929 suggest better way of handling this %] |
| 527 |
<td class="number [% IF books_loo.rrp_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_excluded | $Price %]</td> |
527 |
<td class="number [% IF books_loo.rrp_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_excluded | $Price %] [% IF ( books_loo.uncertainprice ) %] (Uncertain) [% END %] </td> |
| 528 |
<td class="number [% IF books_loo.unitprice_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.unitprice_tax_excluded | $Price %]</td> |
528 |
<td class="number [% IF books_loo.unitprice_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.unitprice_tax_excluded | $Price %]</td> |
| 529 |
<td class="number [% IF books_loo.ecost_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.ecost_tax_excluded | $Price %]</td> |
529 |
<td class="number [% IF books_loo.ecost_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.ecost_tax_excluded | $Price %]</td> |
| 530 |
<td class="number [% IF books_loo.rrp_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_included | $Price %]</td> |
530 |
<td class="number [% IF books_loo.rrp_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_included | $Price %]</td> |
|
Lines 642-648
Link Here
|
| 642 |
</p> |
642 |
</p> |
| 643 |
[% END %] |
643 |
[% END %] |
| 644 |
</td> |
644 |
</td> |
| 645 |
<td class="number">[% order.rrp_tax_excluded | $Price %]</td> |
645 |
<td class="number"> |
|
|
646 |
[% order.rrp_tax_excluded | $Price %] |
| 647 |
[% IF ( order.uncertain ) %] |
| 648 |
(Uncertain) |
| 649 |
[% END %] |
| 650 |
</td> |
| 646 |
<td class="number">[% order.ecost_tax_excluded | $Price %]</td> |
651 |
<td class="number">[% order.ecost_tax_excluded | $Price %]</td> |
| 647 |
<td class="number">[% order.rrp_tax_included | $Price %]</td> |
652 |
<td class="number">[% order.rrp_tax_included | $Price %]</td> |
| 648 |
<td class="number">[% order.ecost_tax_included | $Price %]</td> |
653 |
<td class="number">[% order.ecost_tax_included | $Price %]</td> |