IO-2261 Add Delete function, Correct Payment edit, add Totals to Bills handler

This commit is contained in:
Allan Carr
2023-05-05 13:10:07 -07:00
parent 49a61e1564
commit a3557bbc86
6 changed files with 64 additions and 4 deletions

View File

@@ -131,8 +131,10 @@ async function OpenSearchUpdateHandler(req, res) {
"id",
"date",
"exported",
"exported_at",
"invoice_number",
"is_credit_memo",
"total"
]),
...bill.bills_by_pk,
bodyshopid: bill.bills_by_pk.job.shopid,