added purchase price

added purchase price to reflect the amount customer paid
pull/9/head
paulcortez 1 year ago
parent ba286faf59
commit 5816f48d5c

@ -160,6 +160,7 @@
<th>Category</th>
<th>Model No.</th>
<th>Price</th>
<th>Purchase Price</th>
<th>Transaction Type</th>
<th>Date</th>
</thead>
@ -285,7 +286,8 @@
"<td>"+data.invoiceNum+"</td>" +
"<td>"+data.catCode+"</td>" +
"<td>"+data.modelno+"</td>" +
"<td>"+data.price+"</td>" +
"<td>"+data.price+"</td>" +
"<td>"+(parseFloat(data.cash) + parseFloat(data.dollar) + parseFloat(data.creditCard) + parseFloat(data.checque))+"</td>" +
"<td>"+data.transType+"</td>" +
"<td>"+data.transDate+"</td>" +
"</tr>";

Loading…
Cancel
Save