Lines 518-524
Link Here
|
518 |
</td> |
518 |
</td> |
519 |
[% 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 ... %] |
519 |
[% 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 ... %] |
520 |
[%# FIXME: use of a regexp is not ideal; bugs 9410 and 10929 suggest better way of handling this %] |
520 |
[%# FIXME: use of a regexp is not ideal; bugs 9410 and 10929 suggest better way of handling this %] |
521 |
<td class="number [% IF books_loo.rrp_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_excluded | $Price %]</td> |
521 |
<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> |
522 |
<td class="number [% IF books_loo.ecost_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.ecost_tax_excluded | $Price %]</td> |
522 |
<td class="number [% IF books_loo.ecost_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.ecost_tax_excluded | $Price %]</td> |
523 |
<td class="number [% IF books_loo.rrp_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_included | $Price %]</td> |
523 |
<td class="number [% IF books_loo.rrp_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_included | $Price %]</td> |
524 |
<td class="number [% IF books_loo.ecost_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.ecost_tax_included | $Price %]</td> |
524 |
<td class="number [% IF books_loo.ecost_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.ecost_tax_included | $Price %]</td> |
Lines 634-640
Link Here
|
634 |
</p> |
634 |
</p> |
635 |
[% END %] |
635 |
[% END %] |
636 |
</td> |
636 |
</td> |
637 |
<td class="number">[% order.rrp_tax_excluded | $Price %]</td> |
637 |
<td class="number"> |
|
|
638 |
[% order.rrp_tax_excluded | $Price %] |
639 |
[% IF ( order.uncertain ) %] |
640 |
(Uncertain) |
641 |
[% END %] |
642 |
</td> |
638 |
<td class="number">[% order.ecost_tax_excluded | $Price %]</td> |
643 |
<td class="number">[% order.ecost_tax_excluded | $Price %]</td> |
639 |
<td class="number">[% order.rrp_tax_included | $Price %]</td> |
644 |
<td class="number">[% order.rrp_tax_included | $Price %]</td> |
640 |
<td class="number">[% order.ecost_tax_included | $Price %]</td> |
645 |
<td class="number">[% order.ecost_tax_included | $Price %]</td> |