Lines 377-385
Link Here
|
377 |
<li> |
377 |
<li> |
378 |
<label for="unitprice">Actual cost:</label> |
378 |
<label for="unitprice">Actual cost:</label> |
379 |
[% IF (invoiceincgst) %] |
379 |
[% IF (invoiceincgst) %] |
380 |
<input type="text" size="20" name="unitprice" id="unitprice" value="[% order.unitprice_tax_included | $Price on_editing => 1 %]" /> <span class="hint">(tax inclusive)</span> |
380 |
[% SET unitprice = order.unitprice_tax_included > 0 ? order.unitprice_tax_included : order.ecost_tax_included %] |
|
|
381 |
<input type="text" size="20" name="unitprice" id="unitprice" value="[% unitprice | $Price on_editing => 1 %]" /> <span class="hint">(tax inclusive)</span> |
381 |
[% ELSE %] |
382 |
[% ELSE %] |
382 |
<input type="text" size="20" name="unitprice" id="unitprice" value="[% order.unitprice_tax_excluded | $Price on_editing => 1 %]" /> <span class="hint">(tax exclusive)</span> |
383 |
[% SET unitprice = order.unitprice_tax_included > 0 ? order.unitprice_tax_excluded : order.ecost_tax_excluded %] |
|
|
384 |
<input type="text" size="20" name="unitprice" id="unitprice" value="[% unitprice | $Price on_editing => 1 %]" /> <span class="hint">(tax exclusive)</span> |
383 |
[% END %] |
385 |
[% END %] |
384 |
<label style="font-weight: inherit; float:none;"><input type="checkbox" name="change_currency">Change currency</label> |
386 |
<label style="font-weight: inherit; float:none;"><input type="checkbox" name="change_currency">Change currency</label> |
385 |
</li> |
387 |
</li> |
386 |
- |
|
|