Commit d06fd1d9 authored by Kittisak Maneewong's avatar Kittisak Maneewong

Edit migrate company

parent 3523450e
......@@ -28,6 +28,8 @@ class CreateCompaniesTable extends Migration
$table->string('province');
$table->string('zipcode');
$table->string('imageMap')->nullable();
$table->string('lat')->nullable();
$table->string('long')->nullable();
$table->string('about')->nullable();
$table->string('bts')->nullable();
$table->string('mrt')->nullable();
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -27,12 +27,14 @@
outline
label="ชื่อบริษัท"
:rules="[rules.required]"
v-model="company_name"
class="my-ip"
></v-text-field>
<label class="font-weight-bold">ชื่อผู้ติดต่อ <span class="red--text">&nbsp;*</span></label>
<v-text-field
outline
label="ชื่อผู้ติดต่อ"
v-model="company_owner"
:rules="[rules.required]"
class="my-ip"
></v-text-field>
......@@ -40,6 +42,7 @@
<v-text-field
outline
label="เบอร์ผู้ติดต่อ"
v-model="phone_no"
:rules="[rules.required]"
class="my-ip"
></v-text-field>
......@@ -49,6 +52,7 @@
<v-text-field
outline
label="อีเมล"
v-model="email"
:rules="[rules.required, rules.email]"
class="my-ip"
></v-text-field>
......@@ -57,12 +61,14 @@
outline
label="Fax"
class="my-ip"
v-model="fax"
></v-text-field>
<label class="font-weight-bold">เว็บไซต์ <span class="red--text"></span></label>
<v-text-field
outline
label="เว็บไซต์"
class="my-ip"
v-model="website"
></v-text-field>
</v-flex>
</v-layout>
......@@ -75,6 +81,7 @@
outline
label="ที่อยู่"
:rules="[rules.required]"
v-model="addr"
class="my-1"
></v-textarea>
<label class="font-weight-bold">จังหวัด <span class="red--text">&nbsp;*</span></label>
......@@ -105,6 +112,7 @@
outline
label="เกี่ยวกับบริษัท"
class="my-1"
v-model="about"
></v-textarea>
</v-flex>
<v-flex sm6 xs12 class="px-3">
......@@ -166,6 +174,7 @@
<v-select
label="เลือก"
:items="bts"
v-model="bts"
></v-select>
</v-flex>
<v-flex sm3 xs12 class="px-3">
......@@ -173,6 +182,7 @@
<v-select
label="เลือก"
:items="mrt"
v-model="mrt"
></v-select>
</v-flex>
<v-flex sm3 xs12 class="px-3">
......@@ -180,12 +190,15 @@
<v-select
label="เลือก"
:items="arl"
v-model="arl"
></v-select>
</v-flex>
<v-flex sm3 xs12 class="px-3">
<label class="font-weight-bold">สายรถเมล์</label>
<VTextField
label="สายรถเมล์"/>
label="สายรถเมล์"
v-model="bus"
></VTextField>
</v-flex>
<v-flex sm12 class="px-3">
<label class="font-weight-bold">การเดินทางเพิ่มเติม</label>
......@@ -195,6 +208,7 @@
outline
label=""
class="my-2"
v-model="another"
></v-textarea>
</v-flex>
<v-flex sm6 xs12 class="px-3 py-3 detail">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment