I received this data form{} from view in my controller ($rquest) How to get "product_id" values in product array with x items {} to use them in my controller ?
form: {
id: null,
sale_number: 2,
client: null,
products: [
{ product_id:1,description: null, quantity:1, price: 1}
{ product_id:2,description: null, quantity:1, price: 1}
{ product_id:3,description: null, quantity:1, price: 1}
.....etc
],
}
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2QR9wIk
via IFTTT
Aucun commentaire:
Enregistrer un commentaire