i have a charges model that contain Price And Quantity , i want to multiply Price and Quantity and sum the results and update a table named bill with final results , here is my array
[
[
"Title" => "Price 1",
"Quantity" => "1",
"Price" => "1",
],
[
"Title" => "Price 2",
"Quantity" => "232",
"Price" => "32632",
],
[
"Title" => "Price 3",
"Quantity" => "11",
"Price" => "2115",
],
]
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire