# );
}
if ($ordnum) {
- modorder($title,$ordnum,$quantity,$listprice,$bibnum,$basketno,$booksellerid,$loggedinuser,$notes,$bookfund,$bibitemnum,$rrp,$ecost,$gst,$budget,$cost,$sub,$invoice,$sort1,$sort2);
+ modorder($title,$ordnum,$quantity,$listprice,$bibnum,$basketno,$booksellerid,$loggedinuser,$notes,$bookfund,$bibitemnum,$rrp,$ecost,$gst,$budget,$cost,$invoice,$sort1,$sort2);
}else {
$basketno=neworder($basketno,$bibnum,$title,$quantity,$listprice,$booksellerid,$loggedinuser,$notes,$bookfund,$bibitemnum,$rrp,$ecost,$gst,$budget,$cost,$sub,$invoice,$sort1,$sort2);
}
quantity => $data->{'quantity'},
listprice => $data->{'listprice'},
rrp => $data->{'rrp'},
+ invoice => $data->{'booksellerinvoicenumber'},
ecost => $data->{'ecost'},
notes => $data->{'notes'},
sort1 => $data->{'sort1'},
</p>
<p>
<label class="label100">Actual Cost</label>
- <input type="text" size="20" name="cost">
+ <input type="text" size="20" name="cost" value="<!-- TMPL_VAR name="ecost"-->">
</p>
<p>
<label class="label100">Invoice Number *</label>
- <input type="text" size="20" name="invoice" >
+ <input type="text" size="20" name="invoice" value="<!-- TMPL_VAR name="invoice" -->">
<p>
<label class="label100">Notes</label>
<input type="text" size="20" name="notes" value="<!-- TMPL_VAR NAME="notes" -->">