Skip to content

Commit

Permalink
admin: sale/invoice improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
abolabo committed Jan 30, 2024
1 parent 3d557bd commit af678bd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions public_html/admin/controller/responses/sale/invoice.php
Expand Up @@ -154,7 +154,9 @@ public function main()

$total_data = $this->model_sale_order->getOrderTotals($order_id);

$this->data['orders'][] = [
$this->data['orders'][] = array_merge(
$order_info,
[
'order_id' => $order_id,
'invoice_id' => $invoice_id,
'date_added' => dateISO2Display(
Expand All @@ -175,7 +177,7 @@ public function main()
'comment' => $order_info['comment'],
'product' => $product_data,
'total' => $total_data,
];
]);
}
}

Expand Down

0 comments on commit af678bd

Please sign in to comment.