Lines 385-394
Link Here
|
385 |
<th class="tax_included"> </th> |
385 |
<th class="tax_included"> </th> |
386 |
<th class="replacementprice"> </th> |
386 |
<th class="replacementprice"> </th> |
387 |
<th>[% foot_loo.quantity | html %]</th> |
387 |
<th>[% foot_loo.quantity | html %]</th> |
388 |
<th class="tax_excluded">[% foot_loo.total_tax_excluded | $Price | html %]</th> |
388 |
<th class="tax_excluded">[% foot_loo.total_tax_excluded | $Price %]</th> |
389 |
<th class="tax_included">[% foot_loo.total_tax_included | $Price | html %]</th> |
389 |
<th class="tax_included">[% foot_loo.total_tax_included | $Price %]</th> |
390 |
<th> </th> |
390 |
<th> </th> |
391 |
<th>[% foot_loo.tax_value | $Price | html %]</th> |
391 |
<th>[% foot_loo.tax_value | $Price %]</th> |
392 |
<th> </th> |
392 |
<th> </th> |
393 |
<th> </th> |
393 |
<th> </th> |
394 |
[% IF ( active ) %] |
394 |
[% IF ( active ) %] |
Lines 408-417
Link Here
|
408 |
<th class="tax_included"> </th> |
408 |
<th class="tax_included"> </th> |
409 |
<th class="replacementprice"> </th> |
409 |
<th class="replacementprice"> </th> |
410 |
<th>[% total_quantity | html %]</th> |
410 |
<th>[% total_quantity | html %]</th> |
411 |
<th class="tax_excluded">[% total_tax_excluded | $Price | html %]</th> |
411 |
<th class="tax_excluded">[% total_tax_excluded | $Price %]</th> |
412 |
<th class="tax_included">[% total_tax_included | $Price | html %]</th> |
412 |
<th class="tax_included">[% total_tax_included | $Price %]</th> |
413 |
<th> </th> |
413 |
<th> </th> |
414 |
<th>[% total_tax_value | $Price | html %]</th> |
414 |
<th>[% total_tax_value | $Price %]</th> |
415 |
<th> </th> |
415 |
<th> </th> |
416 |
<th> </th> |
416 |
<th> </th> |
417 |
[% IF ( active ) %] |
417 |
[% IF ( active ) %] |
Lines 478-493
Link Here
|
478 |
</td> |
478 |
</td> |
479 |
[% 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 ... %] |
479 |
[% 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 ... %] |
480 |
[%# FIXME: use of a regexp is not ideal; bugs 9410 and 10929 suggest better way of handling this %] |
480 |
[%# FIXME: use of a regexp is not ideal; bugs 9410 and 10929 suggest better way of handling this %] |
481 |
<td class="number tax_excluded [% IF books_loo.rrp_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_excluded | $Price | html %]</td> |
481 |
<td class="number tax_excluded [% IF books_loo.rrp_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_excluded | $Price %]</td> |
482 |
<td class="number tax_excluded [% IF books_loo.ecost_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.ecost_tax_excluded | $Price | html %]</td> |
482 |
<td class="number tax_excluded [% IF books_loo.ecost_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.ecost_tax_excluded | $Price %]</td> |
483 |
<td class="number tax_included [% IF books_loo.rrp_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_included | $Price | html %]</td> |
483 |
<td class="number tax_included [% IF books_loo.rrp_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.rrp_tax_included | $Price %]</td> |
484 |
<td class="number tax_included [% IF books_loo.ecost_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.ecost_tax_included | $Price | html %]</td> |
484 |
<td class="number tax_included [% IF books_loo.ecost_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.ecost_tax_included | $Price %]</td> |
485 |
<td class="number replacementprice [% IF books_loo.replacementprice.search(zero_regex) %]error[% END %]">[% books_loo.replacementprice | $Price | html %]</td> |
485 |
<td class="number replacementprice [% IF books_loo.replacementprice.search(zero_regex) %]error[% END %]">[% books_loo.replacementprice | $Price %]</td> |
486 |
<td class="number [% IF books_loo.quantity.search(zero_regex) %]error[% END %]">[% books_loo.quantity | html %]</td> |
486 |
<td class="number [% IF books_loo.quantity.search(zero_regex) %]error[% END %]">[% books_loo.quantity | html %]</td> |
487 |
<td class="number tax_excluded [% IF books_loo.total_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.total_tax_excluded | $Price | html %]</td> |
487 |
<td class="number tax_excluded [% IF books_loo.total_tax_excluded.search(zero_regex) %]error[% END %]">[% books_loo.total_tax_excluded | $Price %]</td> |
488 |
<td class="number tax_included [% IF books_loo.total_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.total_tax_included | $Price | html %]</td> |
488 |
<td class="number tax_included [% IF books_loo.total_tax_included.search(zero_regex) %]error[% END %]">[% books_loo.total_tax_included | $Price %]</td> |
489 |
<td class="number">[% books_loo.tax_rate * 100 | html %]</td> |
489 |
<td class="number">[% books_loo.tax_rate * 100 | html %]</td> |
490 |
<td class="number [% IF books_loo.tax_value.search(zero_regex) %]error[% END %]">[% books_loo.tax_value | $Price | html %]</td> |
490 |
<td class="number [% IF books_loo.tax_value.search(zero_regex) %]error[% END %]">[% books_loo.tax_value | $Price %]</td> |
491 |
<td>[% books_loo.budget_name | html %]</td> |
491 |
<td>[% books_loo.budget_name | html %]</td> |
492 |
<td>[% books_loo.suppliers_report | html %]</td> |
492 |
<td>[% books_loo.suppliers_report | html %]</td> |
493 |
[% IF ( active ) %] |
493 |
[% IF ( active ) %] |
Lines 594-609
Link Here
|
594 |
</p> |
594 |
</p> |
595 |
[% END %] |
595 |
[% END %] |
596 |
</td> |
596 |
</td> |
597 |
<td class="number tax_excluded">[% order.rrp_tax_excluded | $Price | html %]</td> |
597 |
<td class="number tax_excluded">[% order.rrp_tax_excluded | $Price %]</td> |
598 |
<td class="number tax_excluded">[% order.ecost_tax_excluded | $Price | html %]</td> |
598 |
<td class="number tax_excluded">[% order.ecost_tax_excluded | $Price %]</td> |
599 |
<td class="number tax_included">[% order.rrp_tax_included | $Price | html %]</td> |
599 |
<td class="number tax_included">[% order.rrp_tax_included | $Price %]</td> |
600 |
<td class="number tax_included">[% order.ecost_tax_included | $Price | html %]</td> |
600 |
<td class="number tax_included">[% order.ecost_tax_included | $Price %]</td> |
601 |
<td class="number replacementprice">[% order.replacementprice | $Price | html %]</td> |
601 |
<td class="number replacementprice">[% order.replacementprice | $Price %]</td> |
602 |
<td class="number">[% order.quantity | html %]</td> |
602 |
<td class="number">[% order.quantity | html %]</td> |
603 |
<td class="number tax_excluded">[% order.total_tax_excluded | $Price | html %]</td> |
603 |
<td class="number tax_excluded">[% order.total_tax_excluded | $Price %]</td> |
604 |
<td class="number tax_included">[% order.total_tax_included | $Price | html %]</td> |
604 |
<td class="number tax_included">[% order.total_tax_included | $Price %]</td> |
605 |
<td class="number">[% order.tax_rate * 100 | html %]</td> |
605 |
<td class="number">[% order.tax_rate * 100 | html %]</td> |
606 |
<td class="number">[% order.tax_value | $Price | html %]</td> |
606 |
<td class="number">[% order.tax_value | $Price %]</td> |
607 |
<td>[% order.budget_name | html %] |
607 |
<td>[% order.budget_name | html %] |
608 |
</tr> |
608 |
</tr> |
609 |
[% END %] |
609 |
[% END %] |