I have sale product form where user will receive cash against product at cash counter, and products could be many. How to submit that record at once using eloquent and query builder with following array pattern
Array
(
[_token] => jsVji1V6cTt5XmD2XgWyA7GEH5lvPlYbYWtUPIrt
[productId] => Array
(
[0] => 1
[1] => 2
)
[quantity] => Array
(
[0] => 1
[1] => 1
)
[amountReceived] => Array
(
[0] => 100
[1] => 500
)
[deliveryLocation] => Array
(
[0] => london
[1] => new york
)
)
from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2LGoIXx
via IFTTT
Aucun commentaire:
Enregistrer un commentaire