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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt (-2 / +1 lines)
Lines 690-696 Link Here
690
                var effective_create_items = row.basket.create_items || AcqCreateItem;
690
                var effective_create_items = row.basket.create_items || AcqCreateItem;
691
                params['tax_rate'] = (effective_create_items == 'receiving')?row.tax_rate_on_receiving:row.tax_rate_on_ordering;
691
                params['tax_rate'] = (effective_create_items == 'receiving')?row.tax_rate_on_receiving:row.tax_rate_on_ordering;
692
                params['replacementprice'] = row.replacement_price;
692
                params['replacementprice'] = row.replacement_price;
693
                params['unitprice'] = invoiceincgst=="1"?row.unit_price_tax_included:row.unit_price_tax_excluded;
693
                params['unitprice'] = ( invoiceincgst=="1" ) ? ( row.unit_price_tax_included || row.ecost_tax_included ) : ( row.unit_price_tax_excluded || row.ecost_tax_excluded );
694
                params['order_internalnote'] = row.internal_note;
694
                params['order_internalnote'] = row.internal_note;
695
                if(effective_create_items == 'receiving') {
695
                if(effective_create_items == 'receiving') {
696
                    Object.keys(row.items).forEach(function(key) {
696
                    Object.keys(row.items).forEach(function(key) {
697
- 

Return to bug 33783