View | Details | Raw Unified | Return to bug 33783
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-3 / +2 lines)
Lines 1161-1172 Link Here
1161
                if(invoiceincgst == "1") {
1161
                if(invoiceincgst == "1") {
1162
                    rrp_txt = Number(row.rrp_tax_included).format_price()+'<span class="hint"> '+ADJ_TAX_INC.format(active_currency)+"</span>";
1162
                    rrp_txt = Number(row.rrp_tax_included).format_price()+'<span class="hint"> '+ADJ_TAX_INC.format(active_currency)+"</span>";
1163
                    ecost_txt = Number(row.ecost_tax_included).format_price()+'<span class="hint"> '+TAX_INC+"</span>";
1163
                    ecost_txt = Number(row.ecost_tax_included).format_price()+'<span class="hint"> '+TAX_INC+"</span>";
1164
                    $("#unitprice").val(row.unit_price_tax_included);
1164
                    $("#unitprice").val(Number(row.ecost_tax_included).format_price());
1165
                    $("#unitprice_hint").html(TAX_INC);
1165
                    $("#unitprice_hint").html(TAX_INC);
1166
                } else {
1166
                } else {
1167
                    rrp_txt = Number(row.rrp_tax_excluded).format_price()+'<span class="hint"> '+ADJ_TAX_EXC.format(active_currency)+"</span>";
1167
                    rrp_txt = Number(row.rrp_tax_excluded).format_price()+'<span class="hint"> '+ADJ_TAX_EXC.format(active_currency)+"</span>";
1168
                    ecost_txt = Number(row.ecost_tax_excluded).format_price()+'<span class="hint"> '+TAX_EXC+"</span>";
1168
                    ecost_txt = Number(row.ecost_tax_excluded).format_price()+'<span class="hint"> '+TAX_EXC+"</span>";
1169
                    $("#unitprice").val(row.unit_price_tax_excluded);
1169
                    $("#unitprice").val(Number(row.ecost_tax_excluded).format_price());
1170
                    $("#unitprice_hint").html(TAX_EXC);
1170
                    $("#unitprice_hint").html(TAX_EXC);
1171
                }
1171
                }
1172
                $("#rrp").html(rrp_txt);
1172
                $("#rrp").html(rrp_txt);
1173
- 

Return to bug 33783