This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function Preview(Request $request) | |
{ | |
$inputs = $request->all(); | |
$quantity = $inputs['quantity']; | |
$description = $inputs['description']; | |
$price = $inputs['price']; | |
dd($inputs); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function Preview(Request $request) | |
{ | |
$inputs = $request->all(); | |
$invoiceItems = array_map(function ($quantity, $description, $price) { | |
return [ | |
'quantity' => $quantity, | |
'description' => $description, | |
'price' => $price | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function Preview(Request $request) | |
{ | |
$inputs = $request->all(); | |
$invoiceItems = array_map(function ($quantity, $description, $price) { | |
return [ | |
'quantity' => $quantity, | |
'description' => $description, | |
'price' => $price | |
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
public function index() | |
{ | |
$invoices = invoice::find(1); | |
return view('invoices.index', compact('invoices')); | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const VueGoogleMap = require('vue-google-maps'); | |
module.exports = { | |
components: { | |
'google-map': VueGoogleMap.Map, | |
}, | |
data: function () { | |
return { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const VueGoogleMap = require('vue-google-maps'); | |
module.exports = { | |
components: { | |
'google-map': VueGoogleMap.Map, | |
}, | |
data: function () { | |
return { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const VueGoogleMap = require('vue-google-maps'); | |
module.exports = { | |
components: { | |
'google-map': VueGoogleMap.Map, | |
}, | |
data: function () { | |
return { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const VueGoogleMap = require('vue-google-maps'); | |
module.exports = { | |
components: { | |
'google-map': VueGoogleMap.Map | |
}, | |
data: function () { | |
return { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const VueGoogleMap = require('vue-google-maps'); | |
module.exports = { | |
components: { | |
'google-map': VueGoogleMap.Map | |
}, | |
data: function () { | |
return { |
OlderNewer