Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
CO-OP Search
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kittisak Maneewong
CO-OP Search
Commits
d06fd1d9
Commit
d06fd1d9
authored
Apr 20, 2019
by
Kittisak Maneewong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edit migrate company
parent
3523450e
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
1 deletion
+17
-1
2019_04_16_100008_create_companies_table.php
...e/migrations/2019_04_16_100008_create_companies_table.php
+2
-0
app.js
public/js/app.js
+0
-0
EditCompany.vue
resources/js/views/EditCompany.vue
+15
-1
No files found.
database/migrations/2019_04_16_100008_create_companies_table.php
View file @
d06fd1d9
...
...
@@ -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
();
...
...
public/js/app.js
View file @
d06fd1d9
This source diff could not be displayed because it is too large. You can
view the blob
instead.
resources/js/views/EditCompany.vue
View file @
d06fd1d9
...
...
@@ -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"
>
*
</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"
>
*
</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"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment