This file contains hidden or 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
$plateNew = new Plate(); | |
$plateNew->plate = $plate; | |
$plateNew->save(); | |
$plateNew->fresh(); | |
dd($plateNew); | |
Plate {#194 ▼ |
This file contains hidden or 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
$plateNew = new Plate(); | |
$plateNew->plate = $plate; | |
$plateNew->save(); | |
$plateNew->fresh(); | |
dd($plateNew); |
This file contains hidden or 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
Plate {#211 ▼ | |
#table: "plates" | |
#fillable: array:1 [▼ | |
0 => "plate" | |
] | |
#dates: array:2 [▼ | |
0 => "created_at" | |
1 => "updated_at" | |
] | |
#connection: null |
This file contains hidden or 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
$plateRecord = new Plate(); | |
$plateRecord->plate = $plate; | |
$plateRecord->save(); | |
dd($plateRecord); |
This file contains hidden or 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
Users | |
ID | |
Name | |
Password | |
Remember_token | |
created_at | |
Updated_at | |
Offences |
This file contains hidden or 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
<template> | |
<form action="/subscriptions" method="POST"> | |
<input type="hidden" name="stripeToken" v-model="stripeToken"> | |
<input type="hidden" name="stripeEmail" v-model="stripeEmail"> | |
<button id="customButton" @click.prevent="subscribe">Purchase</button> | |
</form> | |
</template> | |
<script> | |
export default { |
This file contains hidden or 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
/** | |
* First we will load all of this project's JavaScript dependencies which | |
* include Vue and Vue Resource. This gives a great starting point for | |
* building robust, powerful web applications using Vue and Laravel. | |
*/ | |
require('./bootstrap'); | |
/** |
This file contains hidden or 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
[{"id":1,"iso":"AF","name":"AFGHANISTAN","nicename":"Afghanistan","iso3":"AFG","numcode":"4","phonecode":"93","created_at":null,"updated_at":null},{"id":2,"iso":"AL","name":"ALBANIA","nicename":"Albania","iso3":"ALB","numcode":"8","phonecode":"355","created_at":null,"updated_at":null},{"id":3,"iso":"DZ","name":"ALGERIA","nicename":"Algeria","iso3":"DZA","numcode":"12","phonecode":"213","created_at":null,"updated_at":null},{"id":4,"iso":"AS","name":"AMERICAN SAMOA","nicename":"American Samoa","iso3":"ASM","numcode":"16","phonecode":"1684","created_at":null,"updated_at":null},{"id":5,"iso":"AD","name":"ANDORRA","nicename":"Andorra","iso3":"AND","numcode":"20","phonecode":"376","created_at":null,"updated_at":null},{"id":6,"iso":"AO","name":"ANGOLA","nicename":"Angola","iso3":"AGO","numcode":"24","phonecode":"244","created_at":null,"updated_at":null},{"id":7,"iso":"AI","name":"ANGUILLA","nicename":"Anguilla","iso3":"AIA","numcode":"660","phonecode":"1264","created_at":null,"updated_at":null},{"id":8,"iso":"AQ","n |
This file contains hidden or 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
<option v-for="option in country" v-bind:value="option.nicename"> | |
{{ option.nicename }} | |
</option> | |
<script> | |
export default { | |
/* | |
* The component's data. | |
*/ | |
data() { |
This file contains hidden or 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
<style> | |
</style> | |
<template> | |
<item class="item" :model="treeData"> </item> | |
</template> | |
<script> | |
import item from './Item.vue'; |