implementet automatic including of the price
This commit is contained in:
@@ -530,6 +530,8 @@
|
||||
const itemCode = row.dataset.itemCode || '';
|
||||
const itemCost = row.dataset.itemCost || '';
|
||||
|
||||
document.getElementById("damage-invoice-amount").value = "{{ item.acquisition_costs }}";
|
||||
|
||||
damageInvoiceForm.action = "{{ url_for('admin_create_invoice', borrow_id='__BORROW_ID__') }}".replace('__BORROW_ID__', borrowId);
|
||||
damageInvoiceItem.value = itemName;
|
||||
damageInvoiceBorrower.value = borrower;
|
||||
|
||||
Reference in New Issue
Block a user