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

(-)a/acqui/neworderempty.pl (-1 lines)
Lines 390-396 $template->param( Link Here
390
    rrp              => $data->{'rrp'},
390
    rrp              => $data->{'rrp'},
391
    gst_values       => \@gst_values,
391
    gst_values       => \@gst_values,
392
    gstrate          => $data->{gstrate} ? $data->{gstrate}+0.0 : $bookseller->{gstrate} ? $bookseller->{gstrate}+0.0 : 0,
392
    gstrate          => $data->{gstrate} ? $data->{gstrate}+0.0 : $bookseller->{gstrate} ? $bookseller->{gstrate}+0.0 : 0,
393
    gstreg           => $bookseller->{'gstreg'},
394
    listprice        => sprintf( "%.2f", $data->{listprice} || $data->{price} || $listprice),
393
    listprice        => sprintf( "%.2f", $data->{listprice} || $data->{price} || $listprice),
395
    total            => sprintf( "%.2f", ($data->{ecost} || 0) * ($data->{'quantity'} || 0) ),
394
    total            => sprintf( "%.2f", ($data->{ecost} || 0) * ($data->{'quantity'} || 0) ),
396
    ecost            => sprintf( "%.2f", $data->{ecost} || 0),
395
    ecost            => sprintf( "%.2f", $data->{ecost} || 0),
(-)a/koha-tmpl/intranet-tmpl/prog/en/js/acq.js (-1 lines)
Lines 178-184 function messenger(X,Y,etc){ // FIXME: unused? Link Here
178
function updateCosts(){
178
function updateCosts(){
179
    var quantity = new Number($("#quantity").val());
179
    var quantity = new Number($("#quantity").val());
180
    var discount = new Number($("#discount").val());
180
    var discount = new Number($("#discount").val());
181
    var applygst = new Number ($("#applygst").val());
182
    var listprice   =  new Number($("#listprice").val());
181
    var listprice   =  new Number($("#listprice").val());
183
    var currcode = new String($("#currency").val());
182
    var currcode = new String($("#currency").val());
184
    var exchangerate =  new Number($("#currency_rate_"+currcode).val());
183
    var exchangerate =  new Number($("#currency_rate_"+currcode).val());
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-2 lines)
Lines 242-248 $(document).ready(function() Link Here
242
        <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
242
        <input type="hidden" name="booksellerid" value="[% booksellerid %]" />
243
        <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
243
        <input type="hidden" name="biblionumber" value="[% biblionumber %]" />
244
        <input type="hidden" name="listinc" id="listinc" value="[% listincgst %]" />
244
        <input type="hidden" name="listinc" id="listinc" value="[% listincgst %]" />
245
        <input type="hidden" name="applygst" id="applygst" value="[% gstreg %]" />
246
        <input type="hidden" name="invoiceincgst" id="invoiceincgst" value="[% invoiceincgst %]" />
245
        <input type="hidden" name="invoiceincgst" id="invoiceincgst" value="[% invoiceincgst %]" />
247
        <input type="hidden" name="suggestionid" value="[% suggestionid %]" />
246
        <input type="hidden" name="suggestionid" value="[% suggestionid %]" />
248
        <input type="hidden" name="import_batch_id" value="[% import_batch_id %]" />
247
        <input type="hidden" name="import_batch_id" value="[% import_batch_id %]" />
249
- 

Return to bug 12839