Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
naui95 committed Sep 29, 2024
1 parent 47c12dc commit bf6ddb9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions application/modules/quotes/models/Mdl_quotes.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,18 +197,18 @@ public function copy_quote($source_id, $target_id)

foreach ($quote_items as $quote_item) {
$db_array = [
'quote_id' => $target_id,
'item_tax_rate_id' => $quote_item->item_tax_rate_id,
'item_product_id' => $quote_item?->item_product_id,
'item_name' => $quote_item->item_name,
'item_description' => $quote_item->item_description,
'item_quantity' => $quote_item->item_quantity,
'item_price' => $quote_item->item_price,
'quote_id' => $target_id,
'item_tax_rate_id' => $quote_item->item_tax_rate_id,
'item_product_id' => $quote_item?->item_product_id,
'item_name' => $quote_item->item_name,
'item_description' => $quote_item->item_description,
'item_quantity' => $quote_item->item_quantity,
'item_price' => $quote_item->item_price,
'item_discount_amount' => $quote_item?->item_discount_amount,
'item_order' => $quote_item->item_order,
'item_product_unit' => $quote_item?->item_product_unit,
'item_order' => $quote_item->item_order,
'item_product_unit' => $quote_item?->item_product_unit,
'item_product_unit_id' => $quote_item?->item_product_unit_id,
);
];

$this->mdl_quote_items->save(null, $db_array);
}
Expand Down

0 comments on commit bf6ddb9

Please sign in to comment.