Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pa21617d4ti07
Project
Overview
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
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rizky
pa21617d4ti07
Commits
eec22285
Commit
eec22285
authored
May 26, 2017
by
rizky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DB, blade, css, fungsi
parent
f12c62cf
Hide whitespace changes
Inline
Side-by-side
Showing
21 changed files
with
307 additions
and
288 deletions
+307
-288
RegistrationController.php
app/Http/Controllers/RegistrationController.php
+1
-1
TicketController.php
app/Http/Controllers/TicketController.php
+22
-9
pa2.sql
pa2.sql
+56
-103
Screenshot (1).png
public/image/Screenshot (1).png
+0
-0
customer_home.blade.php
resources/views/customers/customer_home.blade.php
+8
-0
index.blade.php
resources/views/customers/ticket/beli/index.blade.php
+22
-7
data_konfirmasi.blade.php
resources/views/customers/ticket/data_konfirmasi.blade.php
+4
-2
data_order.blade.php
resources/views/customers/ticket/data_order.blade.php
+35
-3
upload.blade.php
resources/views/customers/ticket/upload.blade.php
+3
-10
master-customer.blade.php
resources/views/layouts/master-customer.blade.php
+45
-45
master-manager.blade.php
resources/views/layouts/master-manager.blade.php
+47
-46
master-staff.blade.php
resources/views/layouts/master-staff.blade.php
+45
-45
masterlog.blade.php
resources/views/layouts/masterlog.blade.php
+5
-5
daftar_feedback.blade.php
resources/views/managers/daftar_feedback.blade.php
+0
-2
data_penjualan.blade.php
resources/views/managers/data_penjualan.blade.php
+2
-0
pengunjung.blade.php
resources/views/managers/pengunjung.blade.php
+2
-0
daftar_member.blade.php
resources/views/staffs/daftar_member.blade.php
+0
-5
data_pemesanan.blade.php
resources/views/staffs/data_pemesanan.blade.php
+4
-2
data_transaksi.blade.php
resources/views/staffs/data_transaksi.blade.php
+3
-1
pengunjung.blade.php
resources/views/staffs/pengunjung.blade.php
+2
-0
web.php
routes/web.php
+1
-2
No files found.
app/Http/Controllers/RegistrationController.php
View file @
eec22285
...
...
@@ -19,8 +19,8 @@ class RegistrationController extends Controller
$this
->
validate
(
$request
,
[
'first_name'
=>
'required|max:255'
,
'last_name'
=>
'required|max:255'
,
'email'
=>
'required|unique:users'
,
'password'
=>
'confirmed|required|min:6'
,
'password_confirmation'
=>
'confirmed|required|same:password'
]);
$user
=
Sentinel
::
registerAndActivate
(
$request
->
all
());
...
...
app/Http/Controllers/TicketController.php
View file @
eec22285
...
...
@@ -25,13 +25,24 @@ class TicketController extends Controller
{
$orders
=
Order
::
find
(
$id
);
$file
=
$request
->
file
(
'images'
);
$fileName
=
$file
->
getClientOriginalName
();
$request
->
file
(
'images'
)
->
move
(
"image/"
,
$fileName
);
$orders
->
images
=
$fileName
;
// $this -> validate($request, [
// 'images' => 'mime: jpg, jpeg, png | max:2024',
// ]);
if
(
$request
->
file
(
'images'
)
==
""
)
{
$orders
->
images
=
$orders
->
images
;
return
redirect
(
'data_order'
)
->
with
(
'alert-success'
,
'Resi pembayaran belum diupload'
);
}
else
{
$file
=
$request
->
file
(
'images'
);
$fileName
=
$file
->
getClientOriginalName
();
$request
->
file
(
'images'
)
->
move
(
"image/"
,
$fileName
);
$orders
->
images
=
$fileName
;
$orders
->
update
();
return
redirect
(
'data_order'
)
->
with
(
'alert-success'
,
'Resi pembayaran berhasil diunggah. Silahkan menunggu konfirmasi pembayaran anda'
);
}
$orders
->
update
();
return
redirect
(
'data_order'
)
->
with
(
'alert-success'
,
'Resi pembayaran berhasil diunggah. Silahkan menunggu konfirmasi pembayaran anda'
);
}
public
function
destroy
(
$id
)
...
...
@@ -57,10 +68,11 @@ class TicketController extends Controller
public
function
storeorder
(
Request
$request
)
{
$orders
=
new
Order
();
$orders
->
id_ticket
=
$request
->
id_ticket
;
$orders
->
user_id
=
$request
->
user_id
;
$orders
->
first_name
=
$request
->
first_name
;
$orders
->
nama
=
$request
->
nama
;
$orders
->
nama
=
$request
->
nama_ticket
;
$orders
->
tanggal_kunjung
=
$request
->
tanggal_kunjung
;
$orders
->
jumlah
=
$request
->
jumlah
;
$jumlah
=
$request
->
jumlah
;
$harga
=
$request
->
harga
;
...
...
@@ -68,7 +80,7 @@ class TicketController extends Controller
$orders
->
harga
=
$total
;
$orders
->
save
();
return
redirect
()
->
route
(
'ticket.index'
)
->
with
(
'alert-success'
,
'Ticket Success Ordered.
Please pay by transfer bank to 1
234567890
(ABC Bank).
Please pay by transfer bank to 1
11-111-111
(ABC Bank).
Then, upload it in Data Pemesanan '
);
}
...
...
@@ -88,6 +100,7 @@ class TicketController extends Controller
$trans
->
user_id
=
$input
->
user_id
;
$trans
->
first_name
=
$input
->
first_name
;
$trans
->
nama
=
$input
->
nama
;
$trans
->
tanggal_kunjung
=
$input
->
tanggal_kunjung
;
$trans
->
jumlah
=
$input
->
jumlah
;
$trans
->
harga
=
$input
->
harga
;
$trans
->
status
=
$input
->
status
;
...
...
pa2.sql
View file @
eec22285
...
...
@@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: May 2
3, 2017 at 04:06 A
M
-- Generation Time: May 2
6, 2017 at 09:47 P
M
-- Server version: 10.1.16-MariaDB
-- PHP Version: 7.0.9
...
...
@@ -41,19 +41,13 @@ CREATE TABLE `activations` (
--
INSERT
INTO
`activations`
(
`id`
,
`user_id`
,
`code`
,
`completed`
,
`completed_at`
,
`created_at`
,
`updated_at`
)
VALUES
(
1
,
1
,
'K6AOMiEXKABKRqBpUlEZiCUD7Erf4eIs'
,
1
,
'2017-04-04 19:35:55'
,
'2017-04-04 19:35:55'
,
'2017-04-04 19:35:55'
),
(
3
,
3
,
'FqeX9cDwCC6WXvmgsbiyFRNzdhWT2klq'
,
1
,
'2017-04-04 20:54:11'
,
'2017-04-04 20:54:11'
,
'2017-04-04 20:54:11'
),
(
4
,
4
,
'HfrAJptXXkISPwpYUsyZPJUYXHrbnGvx'
,
1
,
'2017-04-10 05:32:22'
,
'2017-04-10 05:32:22'
,
'2017-04-10 05:32:22'
),
(
5
,
5
,
'fGeif97Ee7pwV5nvne4dAK1GePoytBLx'
,
1
,
'2017-04-28 21:58:01'
,
'2017-04-28 21:58:01'
,
'2017-04-28 21:58:01'
),
(
6
,
6
,
'hfi4M41EV1oy0CIAsg2fDy015lk9bvHD'
,
1
,
'2017-04-28 22:35:32'
,
'2017-04-28 22:35:32'
,
'2017-04-28 22:35:32'
),
(
7
,
7
,
'ufkxe2gkgqzb5NxzbCyRudBGQ0ZGfAtZ'
,
1
,
'2017-05-16 20:41:48'
,
'2017-05-16 20:41:48'
,
'2017-05-16 20:41:48'
),
(
8
,
7
,
'qwsf9eJxbxhBUiSMbxtzoi0zjH6CGTMY'
,
1
,
'2017-05-17 01:31:26'
,
'2017-05-17 01:31:26'
,
'2017-05-17 01:31:26'
),
(
9
,
8
,
'CyoN1Kk3wd2EMdKyuUN8BokE4mYCz4WL'
,
1
,
'2017-05-18 02:27:46'
,
'2017-05-18 02:27:46'
,
'2017-05-18 02:27:46'
),
(
10
,
9
,
'ZbdiQnLxHnPdABFHk9aRrXv3yxY8jHv5'
,
1
,
'2017-05-18 02:50:17'
,
'2017-05-18 02:50:17'
,
'2017-05-18 02:50:17'
),
(
11
,
10
,
'UYKZvLb4OBrwak1WJnF2YGtEKvfOKEyI'
,
1
,
'2017-05-19 02:40:59'
,
'2017-05-19 02:40:59'
,
'2017-05-19 02:40:59'
),
(
12
,
10
,
'dEqeLZvibqTkRGJk42L9wqHiXRiIWJpi'
,
1
,
'2017-05-21 07:24:36'
,
'2017-05-21 07:24:36'
,
'2017-05-21 07:24:36'
),
(
13
,
12
,
'7szD5qOoNq2pDABXwUBp9iloiKBhyjzf'
,
1
,
'2017-05-21 07:33:45'
,
'2017-05-21 07:33:44'
,
'2017-05-21 07:33:45'
),
(
14
,
10
,
'acgFZvfyHysu7SoFREEtrL5VmjZHqAhM'
,
1
,
'2017-05-22 01:19:06'
,
'2017-05-22 01:19:06'
,
'2017-05-22 01:19:06'
);
(
10
,
10
,
'Auv94jCCYdwS7WwcwXRpFQd4w2cDwV4o'
,
1
,
'2017-05-26 01:20:48'
,
'2017-05-26 01:20:48'
,
'2017-05-26 01:20:48'
),
(
11
,
11
,
'uZh7wYyBis1kUlDvDY1xZs7acI8hNCzm'
,
1
,
'2017-05-26 01:40:06'
,
'2017-05-26 01:40:06'
,
'2017-05-26 01:40:06'
),
(
12
,
12
,
'AIoE2iElBONlkK9jvoHj8O9oekZNbFUC'
,
1
,
'2017-05-26 01:45:29'
,
'2017-05-26 01:45:29'
,
'2017-05-26 01:45:29'
);
-- --------------------------------------------------------
...
...
@@ -76,7 +70,7 @@ CREATE TABLE `feedback` (
--
INSERT
INTO
`feedback`
(
`id`
,
`user_id`
,
`first_name`
,
`subjects`
,
`description`
,
`created_at`
,
`updated_at`
)
VALUES
(
5
,
4
,
'Customer'
,
'Kritik'
,
'Aplikasi kurang menarik.... TT'
,
'2017-05-22 01:57:55'
,
'2017-05-22 01:57:5
5'
);
(
9
,
4
,
'Customer'
,
'Selamat'
,
'Selamat
\r\n
'
,
'2017-05-24 07:24:15'
,
'2017-05-24 07:24:1
5'
);
-- --------------------------------------------------------
...
...
@@ -110,10 +104,11 @@ INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
CREATE
TABLE
`orders`
(
`id`
int
(
10
)
UNSIGNED
NOT
NULL
,
`id_ticket`
int
(
10
)
UNSIGNED
DEFAULT
NULL
,
`id_ticket`
int
(
10
)
UNSIGNED
DEFAULT
'1'
,
`user_id`
int
(
10
)
NOT
NULL
,
`first_name`
varchar
(
255
)
COLLATE
utf8_unicode_ci
NOT
NULL
,
`nama`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
`nama`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
'Ticket Umum'
,
`tanggal_kunjung`
date
NOT
NULL
,
`jumlah`
int
(
10
)
DEFAULT
NULL
,
`harga`
int
(
11
)
DEFAULT
NULL
,
`images`
varchar
(
255
)
COLLATE
utf8_unicode_ci
DEFAULT
NULL
,
...
...
@@ -126,8 +121,8 @@ CREATE TABLE `orders` (
-- Dumping data for table `orders`
--
INSERT
INTO
`orders`
(
`id`
,
`id_ticket`
,
`user_id`
,
`first_name`
,
`nama`
,
`jumlah`
,
`harga`
,
`images`
,
`status`
,
`created_at`
,
`updated_at`
)
VALUES
(
9
,
1
,
4
,
'Customer'
,
'Ticket Umum'
,
3
,
30000
,
'WhatsApp Image 2017-05-05 at 8.25.16 AM (1).jpeg'
,
1
,
'2017-05-22 08:46:50'
,
'2017-05-22 01:44:25
'
);
INSERT
INTO
`orders`
(
`id`
,
`id_ticket`
,
`user_id`
,
`first_name`
,
`nama`
,
`
tanggal_kunjung`
,
`
jumlah`
,
`harga`
,
`images`
,
`status`
,
`created_at`
,
`updated_at`
)
VALUES
(
27
,
1
,
4
,
'Customer'
,
'Ticket Umum'
,
'2017-05-31'
,
2
,
20000
,
NULL
,
1
,
'2017-05-26 14:41:42'
,
'2017-05-26 07:38:53
'
);
-- --------------------------------------------------------
...
...
@@ -149,7 +144,7 @@ CREATE TABLE `pengunjungs` (
--
INSERT
INTO
`pengunjungs`
(
`id`
,
`nama_pengunjung`
,
`jumlah`
,
`total_harga`
,
`created_at`
,
`updated_at`
)
VALUES
(
1
,
'
Patota'
,
3
,
30000
,
'2017-05-18 20:10:01'
,
'2017-05-18 20:10:01
'
);
(
1
,
'
Rizik'
,
4
,
40000
,
'2017-05-26 01:59:36'
,
'2017-05-26 01:59:36
'
);
-- --------------------------------------------------------
...
...
@@ -203,7 +198,19 @@ INSERT INTO `persistences` (`id`, `user_id`, `code`, `created_at`, `updated_at`)
(
149
,
6
,
'yS24l0MDkxSu4z65IZ2odGi9oJa5kPXw'
,
'2017-05-18 07:18:57'
,
'2017-05-18 07:18:57'
),
(
157
,
3
,
'qFMRTa4qH49yN0tYaPBHhlIHlsr16FsV'
,
'2017-05-19 08:14:52'
,
'2017-05-19 08:14:52'
),
(
158
,
6
,
'tP5nuOA3A9gmdYhokayEF4q1MaTNEWCx'
,
'2017-05-21 20:24:10'
,
'2017-05-21 20:24:10'
),
(
181
,
6
,
'IHtAlZDxp2JajlR9kqFfLlKbPXuqA7rq'
,
'2017-05-22 03:08:32'
,
'2017-05-22 03:08:32'
);
(
181
,
6
,
'IHtAlZDxp2JajlR9kqFfLlKbPXuqA7rq'
,
'2017-05-22 03:08:32'
,
'2017-05-22 03:08:32'
),
(
182
,
4
,
'aGYidru5Ji5YAJznYhH1xOzUuxKzYrMi'
,
'2017-05-22 21:42:34'
,
'2017-05-22 21:42:34'
),
(
183
,
4
,
'mmZcMeEddWN3HhrigMuTqUfY1OXNTGSv'
,
'2017-05-22 21:42:36'
,
'2017-05-22 21:42:36'
),
(
184
,
4
,
'BgYh5xF5AGgeysgDyzxssHOnIDjAGksM'
,
'2017-05-22 21:42:36'
,
'2017-05-22 21:42:36'
),
(
185
,
4
,
'rfkLgrOsrvZJ6dlDbImnFnRf0wYaGylI'
,
'2017-05-22 21:42:37'
,
'2017-05-22 21:42:37'
),
(
186
,
4
,
'6QDqYECjGMzuN6Xd5gvTtS046cLF9mLK'
,
'2017-05-22 21:42:38'
,
'2017-05-22 21:42:38'
),
(
187
,
4
,
'a5TwutHcIuKmLOAveVUi9f35V64cvwWs'
,
'2017-05-22 21:42:38'
,
'2017-05-22 21:42:38'
),
(
192
,
6
,
'iKVan443nfoDeEchpEh7Xsf8y8kNAsSd'
,
'2017-05-22 23:41:39'
,
'2017-05-22 23:41:39'
),
(
195
,
4
,
'EwVILm2muvmEqWIPlUoJXIy26RfCDH2T'
,
'2017-05-23 06:36:36'
,
'2017-05-23 06:36:36'
),
(
201
,
6
,
'n1S1yoZF0SPGXSSoHxcBFAaT4sKPAU5a'
,
'2017-05-24 02:41:17'
,
'2017-05-24 02:41:17'
),
(
210
,
6
,
'NId7m9K3aGAqtntMrppJ7poUac7ep0U6'
,
'2017-05-25 06:29:25'
,
'2017-05-25 06:29:25'
),
(
222
,
6
,
'wIoScSEu6mS4PO0EHjjIbpSA8EchiMbm'
,
'2017-05-26 01:57:55'
,
'2017-05-26 01:57:55'
),
(
229
,
4
,
'u6QXbuTE9IXjFvNXoU5doOhzN8sID01R'
,
'2017-05-26 07:44:13'
,
'2017-05-26 07:44:13'
);
-- --------------------------------------------------------
...
...
@@ -267,8 +274,9 @@ INSERT INTO `role_users` (`user_id`, `role_id`, `created_at`, `updated_at`) VALU
(
4
,
3
,
'2017-04-10 05:32:22'
,
'2017-04-10 05:32:22'
),
(
6
,
2
,
'2017-04-28 22:35:33'
,
'2017-04-28 22:35:33'
),
(
8
,
3
,
'2017-05-18 02:27:46'
,
'2017-05-18 02:27:46'
),
(
9
,
3
,
'2017-05-18 02:50:17'
,
'2017-05-18 02:50:17'
),
(
10
,
3
,
'2017-05-22 01:19:06'
,
'2017-05-22 01:19:06'
);
(
10
,
3
,
'2017-05-26 01:20:48'
,
'2017-05-26 01:20:48'
),
(
11
,
3
,
'2017-05-26 01:40:06'
,
'2017-05-26 01:40:06'
),
(
12
,
3
,
'2017-05-26 01:45:29'
,
'2017-05-26 01:45:29'
);
-- --------------------------------------------------------
...
...
@@ -290,75 +298,18 @@ CREATE TABLE `throttle` (
--
INSERT
INTO
`throttle`
(
`id`
,
`user_id`
,
`type`
,
`ip`
,
`created_at`
,
`updated_at`
)
VALUES
(
1
,
NULL
,
'global'
,
NULL
,
'2017-04-04 19:35:31'
,
'2017-04-04 19:35:31'
),
(
2
,
NULL
,
'ip'
,
'::1'
,
'2017-04-04 19:35:32'
,
'2017-04-04 19:35:32'
),
(
3
,
NULL
,
'global'
,
NULL
,
'2017-04-26 23:12:23'
,
'2017-04-26 23:12:23'
),
(
4
,
NULL
,
'ip'
,
'::1'
,
'2017-04-26 23:12:23'
,
'2017-04-26 23:12:23'
),
(
5
,
NULL
,
'global'
,
NULL
,
'2017-05-02 00:39:52'
,
'2017-05-02 00:39:52'
),
(
6
,
NULL
,
'ip'
,
'::1'
,
'2017-05-02 00:39:52'
,
'2017-05-02 00:39:52'
),
(
7
,
5
,
'user'
,
NULL
,
'2017-05-02 00:39:52'
,
'2017-05-02 00:39:52'
),
(
8
,
NULL
,
'global'
,
NULL
,
'2017-05-02 00:40:00'
,
'2017-05-02 00:40:00'
),
(
9
,
NULL
,
'ip'
,
'::1'
,
'2017-05-02 00:40:00'
,
'2017-05-02 00:40:00'
),
(
10
,
5
,
'user'
,
NULL
,
'2017-05-02 00:40:00'
,
'2017-05-02 00:40:00'
),
(
11
,
NULL
,
'global'
,
NULL
,
'2017-05-02 01:55:52'
,
'2017-05-02 01:55:52'
),
(
12
,
NULL
,
'ip'
,
'::1'
,
'2017-05-02 01:55:52'
,
'2017-05-02 01:55:52'
),
(
13
,
4
,
'user'
,
NULL
,
'2017-05-02 01:55:52'
,
'2017-05-02 01:55:52'
),
(
14
,
NULL
,
'global'
,
NULL
,
'2017-05-02 02:08:06'
,
'2017-05-02 02:08:06'
),
(
15
,
NULL
,
'ip'
,
'::1'
,
'2017-05-02 02:08:06'
,
'2017-05-02 02:08:06'
),
(
16
,
4
,
'user'
,
NULL
,
'2017-05-02 02:08:06'
,
'2017-05-02 02:08:06'
),
(
17
,
NULL
,
'global'
,
NULL
,
'2017-05-03 19:40:07'
,
'2017-05-03 19:40:07'
),
(
18
,
NULL
,
'ip'
,
'::1'
,
'2017-05-03 19:40:07'
,
'2017-05-03 19:40:07'
),
(
19
,
1
,
'user'
,
NULL
,
'2017-05-03 19:40:07'
,
'2017-05-03 19:40:07'
),
(
20
,
NULL
,
'global'
,
NULL
,
'2017-05-09 18:50:45'
,
'2017-05-09 18:50:45'
),
(
21
,
NULL
,
'ip'
,
'::1'
,
'2017-05-09 18:50:45'
,
'2017-05-09 18:50:45'
),
(
22
,
6
,
'user'
,
NULL
,
'2017-05-09 18:50:45'
,
'2017-05-09 18:50:45'
),
(
23
,
NULL
,
'global'
,
NULL
,
'2017-05-15 20:53:09'
,
'2017-05-15 20:53:09'
),
(
24
,
NULL
,
'ip'
,
'::1'
,
'2017-05-15 20:53:09'
,
'2017-05-15 20:53:09'
),
(
25
,
4
,
'user'
,
NULL
,
'2017-05-15 20:53:09'
,
'2017-05-15 20:53:09'
),
(
26
,
NULL
,
'global'
,
NULL
,
'2017-05-16 20:41:58'
,
'2017-05-16 20:41:58'
),
(
27
,
NULL
,
'ip'
,
'::1'
,
'2017-05-16 20:41:58'
,
'2017-05-16 20:41:58'
),
(
28
,
7
,
'user'
,
NULL
,
'2017-05-16 20:41:58'
,
'2017-05-16 20:41:58'
),
(
29
,
NULL
,
'global'
,
NULL
,
'2017-05-16 20:42:03'
,
'2017-05-16 20:42:03'
),
(
30
,
NULL
,
'ip'
,
'::1'
,
'2017-05-16 20:42:03'
,
'2017-05-16 20:42:03'
),
(
31
,
7
,
'user'
,
NULL
,
'2017-05-16 20:42:03'
,
'2017-05-16 20:42:03'
),
(
32
,
NULL
,
'global'
,
NULL
,
'2017-05-17 01:35:18'
,
'2017-05-17 01:35:18'
),
(
33
,
NULL
,
'ip'
,
'::1'
,
'2017-05-17 01:35:18'
,
'2017-05-17 01:35:18'
),
(
34
,
7
,
'user'
,
NULL
,
'2017-05-17 01:35:18'
,
'2017-05-17 01:35:18'
),
(
35
,
NULL
,
'global'
,
NULL
,
'2017-05-17 02:00:56'
,
'2017-05-17 02:00:56'
),
(
36
,
NULL
,
'ip'
,
'::1'
,
'2017-05-17 02:00:56'
,
'2017-05-17 02:00:56'
),
(
37
,
7
,
'user'
,
NULL
,
'2017-05-17 02:00:56'
,
'2017-05-17 02:00:56'
),
(
38
,
NULL
,
'global'
,
NULL
,
'2017-05-17 19:37:47'
,
'2017-05-17 19:37:47'
),
(
39
,
NULL
,
'ip'
,
'::1'
,
'2017-05-17 19:37:47'
,
'2017-05-17 19:37:47'
),
(
40
,
6
,
'user'
,
NULL
,
'2017-05-17 19:37:47'
,
'2017-05-17 19:37:47'
),
(
41
,
NULL
,
'global'
,
NULL
,
'2017-05-18 02:18:21'
,
'2017-05-18 02:18:21'
),
(
42
,
NULL
,
'ip'
,
'::1'
,
'2017-05-18 02:18:21'
,
'2017-05-18 02:18:21'
),
(
43
,
7
,
'user'
,
NULL
,
'2017-05-18 02:18:21'
,
'2017-05-18 02:18:21'
),
(
44
,
NULL
,
'global'
,
NULL
,
'2017-05-18 02:18:28'
,
'2017-05-18 02:18:28'
),
(
45
,
NULL
,
'ip'
,
'::1'
,
'2017-05-18 02:18:28'
,
'2017-05-18 02:18:28'
),
(
46
,
7
,
'user'
,
NULL
,
'2017-05-18 02:18:28'
,
'2017-05-18 02:18:28'
),
(
47
,
NULL
,
'global'
,
NULL
,
'2017-05-18 02:18:40'
,
'2017-05-18 02:18:40'
),
(
48
,
NULL
,
'ip'
,
'::1'
,
'2017-05-18 02:18:40'
,
'2017-05-18 02:18:40'
),
(
49
,
7
,
'user'
,
NULL
,
'2017-05-18 02:18:40'
,
'2017-05-18 02:18:40'
),
(
50
,
NULL
,
'global'
,
NULL
,
'2017-05-18 21:31:24'
,
'2017-05-18 21:31:24'
),
(
51
,
NULL
,
'ip'
,
'::1'
,
'2017-05-18 21:31:24'
,
'2017-05-18 21:31:24'
),
(
52
,
NULL
,
'global'
,
NULL
,
'2017-05-18 21:31:59'
,
'2017-05-18 21:31:59'
),
(
53
,
NULL
,
'ip'
,
'::1'
,
'2017-05-18 21:31:59'
,
'2017-05-18 21:31:59'
),
(
54
,
NULL
,
'global'
,
NULL
,
'2017-05-19 05:33:21'
,
'2017-05-19 05:33:21'
),
(
55
,
NULL
,
'ip'
,
'::1'
,
'2017-05-19 05:33:21'
,
'2017-05-19 05:33:21'
),
(
56
,
3
,
'user'
,
NULL
,
'2017-05-19 05:33:21'
,
'2017-05-19 05:33:21'
),
(
57
,
NULL
,
'global'
,
NULL
,
'2017-05-21 07:22:59'
,
'2017-05-21 07:22:59'
),
(
58
,
NULL
,
'ip'
,
'::1'
,
'2017-05-21 07:22:59'
,
'2017-05-21 07:22:59'
),
(
59
,
NULL
,
'global'
,
NULL
,
'2017-05-21 07:23:08'
,
'2017-05-21 07:23:08'
),
(
60
,
NULL
,
'ip'
,
'::1'
,
'2017-05-21 07:23:08'
,
'2017-05-21 07:23:08'
),
(
61
,
NULL
,
'global'
,
NULL
,
'2017-05-21 07:23:18'
,
'2017-05-21 07:23:18'
),
(
62
,
NULL
,
'ip'
,
'::1'
,
'2017-05-21 07:23:18'
,
'2017-05-21 07:23:18'
),
(
63
,
NULL
,
'global'
,
NULL
,
'2017-05-21 07:23:25'
,
'2017-05-21 07:23:25'
),
(
64
,
NULL
,
'ip'
,
'::1'
,
'2017-05-21 07:23:25'
,
'2017-05-21 07:23:25'
),
(
65
,
NULL
,
'global'
,
NULL
,
'2017-05-22 00:48:44'
,
'2017-05-22 00:48:44'
),
(
66
,
NULL
,
'ip'
,
'::1'
,
'2017-05-22 00:48:44'
,
'2017-05-22 00:48:44'
),
(
67
,
4
,
'user'
,
NULL
,
'2017-05-22 00:48:44'
,
'2017-05-22 00:48:44'
),
(
68
,
NULL
,
'global'
,
NULL
,
'2017-05-22 01:19:34'
,
'2017-05-22 01:19:34'
),
(
69
,
NULL
,
'ip'
,
'::1'
,
'2017-05-22 01:19:34'
,
'2017-05-22 01:19:34'
);
(
76
,
NULL
,
'global'
,
NULL
,
'2017-05-24 02:32:33'
,
'2017-05-24 02:32:33'
),
(
77
,
NULL
,
'ip'
,
'::1'
,
'2017-05-24 02:32:33'
,
'2017-05-24 02:32:33'
),
(
78
,
6
,
'user'
,
NULL
,
'2017-05-24 02:32:33'
,
'2017-05-24 02:32:33'
),
(
79
,
NULL
,
'global'
,
NULL
,
'2017-05-24 07:02:58'
,
'2017-05-24 07:02:58'
),
(
80
,
NULL
,
'ip'
,
'::1'
,
'2017-05-24 07:02:58'
,
'2017-05-24 07:02:58'
),
(
81
,
3
,
'user'
,
NULL
,
'2017-05-24 07:02:58'
,
'2017-05-24 07:02:58'
),
(
82
,
NULL
,
'global'
,
NULL
,
'2017-05-26 01:40:12'
,
'2017-05-26 01:40:12'
),
(
83
,
NULL
,
'ip'
,
'::1'
,
'2017-05-26 01:40:12'
,
'2017-05-26 01:40:12'
),
(
84
,
11
,
'user'
,
NULL
,
'2017-05-26 01:40:12'
,
'2017-05-26 01:40:12'
),
(
85
,
NULL
,
'global'
,
NULL
,
'2017-05-26 07:43:10'
,
'2017-05-26 07:43:10'
),
(
86
,
NULL
,
'ip'
,
'::1'
,
'2017-05-26 07:43:10'
,
'2017-05-26 07:43:10'
),
(
87
,
3
,
'user'
,
NULL
,
'2017-05-26 07:43:11'
,
'2017-05-26 07:43:11'
);
-- --------------------------------------------------------
...
...
@@ -395,6 +346,7 @@ CREATE TABLE `transactions` (
`user_id`
int
(
10
)
NOT
NULL
,
`first_name`
varchar
(
255
)
NOT
NULL
,
`nama`
varchar
(
255
)
NOT
NULL
,
`tanggal_kunjung`
date
NOT
NULL
,
`jumlah`
int
(
255
)
NOT
NULL
,
`harga`
int
(
255
)
NOT
NULL
,
`status`
int
(
2
)
NOT
NULL
,
...
...
@@ -407,8 +359,8 @@ CREATE TABLE `transactions` (
-- Dumping data for table `transactions`
--
INSERT
INTO
`transactions`
(
`id`
,
`id_order`
,
`id_ticket`
,
`user_id`
,
`first_name`
,
`nama`
,
`jumlah`
,
`harga`
,
`status`
,
`images`
,
`created_at`
,
`updated_at`
)
VALUES
(
6
,
9
,
'1'
,
4
,
'Customer'
,
'Ticket Umum'
,
3
,
30000
,
1
,
'ticket.png'
,
'2017-05-22 01:46:50'
,
'2017-05-22 01:46:50
'
);
INSERT
INTO
`transactions`
(
`id`
,
`id_order`
,
`id_ticket`
,
`user_id`
,
`first_name`
,
`nama`
,
`
tanggal_kunjung`
,
`
jumlah`
,
`harga`
,
`status`
,
`images`
,
`created_at`
,
`updated_at`
)
VALUES
(
3
,
27
,
'1'
,
4
,
'Customer'
,
'Ticket Umum'
,
'2017-05-31'
,
2
,
20000
,
1
,
'ticket.png'
,
'2017-05-26 07:41:42'
,
'2017-05-26 07:41:42
'
);
-- --------------------------------------------------------
...
...
@@ -433,12 +385,13 @@ CREATE TABLE `users` (
--
INSERT
INTO
`users`
(
`id`
,
`first_name`
,
`last_name`
,
`email`
,
`password`
,
`last_login`
,
`permissions`
,
`created_at`
,
`updated_at`
)
VALUES
(
3
,
'Manager'
,
'Manager'
,
'manager@gmail.com'
,
'$2y$10$qHILtG78hGGrB7Q4xAaX.eNRxZ/nG4Zu97/gaaWSo.dkED26AMnZe'
,
'2017-05-22 02:44:43'
,
NULL
,
'2017-04-04 20:54:11'
,
'2017-05-22 02:44:43'
),
(
4
,
'Customer'
,
'Customer'
,
'customer@gmail.com'
,
'$2y$10$nGsosAG9max/xyH/HPtWXOIMfi7g/EYOtPXuZp7wCM3feTi8XAyqW'
,
'2017-05-22 02:45:18'
,
NULL
,
'2017-04-10 05:32:22'
,
'2017-05-22 02:45:18'
),
(
6
,
'staff'
,
'adminsistrasi'
,
'staff@gmail.com'
,
'$2y$10$WTohvoLmBzOMvXnDalxrVuC6PnMNouxspOJaqiNnfUGBp9bN4kYNm'
,
'2017-05-22 03:08:32'
,
NULL
,
'2017-04-28 22:35:32'
,
'2017-05-22 03:08:32'
),
(
8
,
'totapetro'
,
'siahaan'
,
'totapetro@gmail.com'
,
'$2y$10$6GsZN2DYld16LxEJ4hienOn3N/9AsrEftlhV4U.CzyJPejkwnYDdW'
,
'2017-05-19 01:47:41'
,
NULL
,
'2017-05-18 02:27:46'
,
'2017-05-19 01:47:41'
),
(
9
,
'rizky'
,
'manurung'
,
'rizkymanurung11@gmail.com'
,
'$2y$10$.cJ1fWQ2QApUQZ.SHeLzBOH5bYIXoOL5JFCwHGDCQvf3qPsdryMju'
,
'2017-05-18 05:39:32'
,
NULL
,
'2017-05-18 02:50:17'
,
'2017-05-18 05:39:32'
),
(
10
,
'Greace '
,
'Maulina,'
,
'qgreace@gmail.comq'
,
'$2y$10$DFleIdy8kxH4kTayEzALE.5oKOjmy7ncl6frtsdSRD39dk4oZ5yjK'
,
'2017-05-22 01:22:46'
,
NULL
,
'2017-05-22 01:19:06'
,
'2017-05-22 01:22:46'
);
(
3
,
'Manager'
,
'Manager'
,
'manager@gmail.com'
,
'$2y$10$qHILtG78hGGrB7Q4xAaX.eNRxZ/nG4Zu97/gaaWSo.dkED26AMnZe'
,
'2017-05-26 07:43:17'
,
NULL
,
'2017-04-04 20:54:11'
,
'2017-05-26 07:43:17'
),
(
4
,
'Customer'
,
'Customer'
,
'customer@gmail.com'
,
'$2y$10$nGsosAG9max/xyH/HPtWXOIMfi7g/EYOtPXuZp7wCM3feTi8XAyqW'
,
'2017-05-26 07:44:13'
,
NULL
,
'2017-04-10 05:32:22'
,
'2017-05-26 07:44:13'
),
(
6
,
'staff'
,
'adminsistrasi'
,
'staff@gmail.com'
,
'$2y$10$WTohvoLmBzOMvXnDalxrVuC6PnMNouxspOJaqiNnfUGBp9bN4kYNm'
,
'2017-05-26 07:39:36'
,
NULL
,
'2017-04-28 22:35:32'
,
'2017-05-26 07:39:36'
),
(
8
,
'totapetro'
,
'siahaan'
,
'totapetro@gmail.com'
,
'$2y$10$6GsZN2DYld16LxEJ4hienOn3N/9AsrEftlhV4U.CzyJPejkwnYDdW'
,
'2017-05-25 23:57:28'
,
NULL
,
'2017-05-18 02:27:46'
,
'2017-05-25 23:57:28'
),
(
10
,
'Rizky'
,
'Manurung'
,
'rizky@gmail.com'
,
'$2y$10$euc5mqpW2ICCHbsK0LuAo.Scyw8ofZwbM5Z8xF3pWKPFinmslqMDu'
,
'2017-05-26 01:20:57'
,
NULL
,
'2017-05-26 01:20:48'
,
'2017-05-26 01:20:57'
),
(
11
,
'Irene'
,
'Debora'
,
'irene@gmail.com'
,
'$2y$10$4o10o432knLaOMaH00p6quROgxvxNR1w2Yl51YAIC3KxqOOKUJ11S'
,
'2017-05-26 01:40:17'
,
NULL
,
'2017-05-26 01:40:06'
,
'2017-05-26 01:40:17'
),
(
12
,
'Rahel'
,
'Melinda'
,
'rahel@gmail.com'
,
'$2y$10$7e4lbqHrujDgEhD/y.9A..KPZa8yJn9014zpKeEFVoexRs1KUJc3i'
,
'2017-05-26 01:47:40'
,
NULL
,
'2017-05-26 01:45:29'
,
'2017-05-26 01:47:40'
);
--
-- Indexes for dumped tables
...
...
@@ -535,12 +488,12 @@ ALTER TABLE `users`
-- AUTO_INCREMENT for table `activations`
--
ALTER
TABLE
`activations`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
1
5
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
1
3
;
--
-- AUTO_INCREMENT for table `feedback`
--
ALTER
TABLE
`feedback`
MODIFY
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
6
;
MODIFY
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
10
;
--
-- AUTO_INCREMENT for table `migrations`
--
...
...
@@ -550,7 +503,7 @@ ALTER TABLE `migrations`
-- AUTO_INCREMENT for table `orders`
--
ALTER
TABLE
`orders`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
10
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
28
;
--
-- AUTO_INCREMENT for table `pengunjungs`
--
...
...
@@ -560,7 +513,7 @@ ALTER TABLE `pengunjungs`
-- AUTO_INCREMENT for table `persistences`
--
ALTER
TABLE
`persistences`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
182
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
230
;
--
-- AUTO_INCREMENT for table `reminders`
--
...
...
@@ -575,7 +528,7 @@ ALTER TABLE `roles`
-- AUTO_INCREMENT for table `throttle`
--
ALTER
TABLE
`throttle`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
70
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
88
;
--
-- AUTO_INCREMENT for table `tickets`
--
...
...
@@ -585,12 +538,12 @@ ALTER TABLE `tickets`
-- AUTO_INCREMENT for table `transactions`
--
ALTER
TABLE
`transactions`
MODIFY
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
7
;
MODIFY
`id`
int
(
10
)
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
4
;
--
-- AUTO_INCREMENT for table `users`
--
ALTER
TABLE
`users`
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
1
1
;
MODIFY
`id`
int
(
10
)
UNSIGNED
NOT
NULL
AUTO_INCREMENT
,
AUTO_INCREMENT
=
1
3
;
--
-- Constraints for dumped tables
--
...
...
public/image/Screenshot (1).png
deleted
100644 → 0
View file @
f12c62cf
76.7 KB
resources/views/customers/customer_home.blade.php
View file @
eec22285
...
...
@@ -16,6 +16,14 @@
<div class="
row
">
<div class="
col
-
md
-
12
">
<div class="
x_panel
">
<img src="
{{
asset
(
'img/front.jpg'
)
}}
" style="
height
:
100
%
;
width
:
100
%
;
">
</div>
</div>
</div>
<div class="
row
">
<div class="
col
-
md
-
12
">
<div class="
x_panel
">
<div class="
x_title
">
<h2>Media Gallery </h2>
<div class="
clearfix
"></div>
...
...
resources/views/customers/ticket/beli/index.blade.php
View file @
eec22285
...
...
@@ -12,10 +12,10 @@
<
div
class
="
clearfix
"></div>
<div class="
row
">
<div class="
col
-
md
-
12
col
-
sm
-
12
col
-
xs
-
12
">
<div class="
col
-
md
-
6
col
-
sm
-
12
col
-
xs
-
12
">
<div class="
x_panel
">
<div class="
x_title
">
<h2>Jumlah Pesanan</h2>
<h2>Jumlah Pesanan
tiket tersedia <b>"
{{
$tickets
->
name
}}
"</b>
</h2>
<div class="
clearfix
"></div>
</div>
<div class="
x_content
">
...
...
@@ -27,12 +27,12 @@
<input type="
text
" value="
{{
Sentinel
::
getUser
()
->
id
}}
" class="
form
-
control
" name="
user_id
" readonly>
<label class="
col
-
md
-
4
control
-
label
">Name</label>
<input type="
text
" value="
{{
Sentinel
::
getUser
()
->
first_name
}}
" class="
form
-
control
" name="
first_name
" readonly>
<label class="
col
-
md
-
4
control
-
label
">ID Ticket</label>
<input type="
text
" value="
{{
$tickets
->
id
}}
" class="
form
-
control
" name="
id_ticket
" readonly>
<label class="
col
-
md
-
4
control
-
label
">Nama Ticket</label>
<input type="
text
" value="
{{
$tickets
->
name
}}
" class="
form
-
control
" name="
nama
" readonly>
<label class="
col
-
md
-
4
control
-
label
">Harga (IDR)</label>
<label class="
col
-
md
-
4
control
-
label
">Ticket</label>
<input type="
text
" value="
{{
$tickets
->
name
}}
" class="
form
-
control
" name="
nama_ticket
" readonly>
<label class="
col
-
md
-
4
control
-
label
">Harga / ticket (IDR)</label>
<input type="
number
" value="
{{
$tickets
->
price
}}
" class="
form
-
control
" name="
harga
" readonly>
<label class="
col
-
md
-
4
control
-
label
">Tanggal berkunjung</label>
<input type="
date
" class="
form
-
control
" name="
tanggal_kunjung
">
<label class="
col
-
md
-
4
control
-
label
">Jumlah</label>
<input type="
number
" onkeyup="
Harga
(
this
.
value
)
" min="
1
" class="
form
-
control
" name="
jumlah
" placeholder="
masukkan
jumlah
tiket
yang
ingin
dipesan
" required>
<label class="
col
-
md
-
4
control
-
label
">Total Harga (IDR)</label><br>
...
...
@@ -48,6 +48,21 @@
</div>
</div>
</div>
<div class="
col
-
md
-
6
col
-
sm
-
12
col
-
xs
-
12
">
<div class="
x_panel
">
<div class="
x_title
">
<h2>Keterangan</h2>
<div class="
clearfix
"></div>
</div>
<div class="
x_content
">
<h2> Tiket yang tersedia saat ini adalah Tiket Umum</h2>
<h2>Dengan harga IDR10000 untuk satu tiket.</h2>
<h2>Satu tiket berlaku untuk 1 orang.</h2>
<h2>Dengan 1 tiket, Anda dapat menikmati fasilitas Museum TB Silalahi Center dalam 1 hari</h2>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
resources/views/customers/ticket/data_konfirmasi.blade.php
View file @
eec22285
...
...
@@ -36,7 +36,8 @@
<th>
Jumlah
</th>
<th>
Total Harga
</th>
<th>
Status dan Waktu Konfirmasi
</th>
<th>
Tiket download
</th>
<td>
Tanggal Berkunjung
</td>
<th>
Image
</th>
<th>
Keterangan
</th>
</tr>
</thead>
...
...
@@ -50,7 +51,8 @@
<td>
{{$trans->first_name}}
</td>
<td>
{{$trans->jumlah}}
</td>
<td>
{{$trans->harga}}
</td>
<td><button
type=
"button"
class=
"btn btn-success"
>
Dikonfirmasi
</button>
<br>
{{$trans->created_at}}
</td>
<td><p
style=
"color: #00A000"
>
Dikonfirmasi
</p>
<br>
{{$trans->created_at}}
</td>
<td>
{{$trans->tanggal_kunjung}}
</td>
<td><img
src=
"{{ asset('image/ticket/ticket.png') }}"
style=
"height: 150px; width: 200px; "
>
</td>
<td>
Tiket berlaku paling lama 2 hari sejak dikonfirmasinya pemesanan tiket
</td>
</tr>
...
...
resources/views/customers/ticket/data_order.blade.php
View file @
eec22285
...
...
@@ -15,6 +15,36 @@
<div
class=
"col-md-12 col-sm-12 col-xs-12"
>
<div
class=
"x_panel"
>
<div
class=
"x_title"
>
<h2>
Hint
</h2>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"x_content"
>
<h2>
<ul>
<li>
Pesan tiket terlebih dahulu. Pembayaran tiket dilakukan melalui via transfer bank ke nomor Rekening 111-111-111 (Bank ABC)
atas nama Museum TB Silalahi Center.
</li>
<li>
Foto atau screenshot bukti pembayaran.
</li>
<li>
Upload bukti pembayaran melalui tombol upload yang tersedia untuk dikonfirmasi.
</li>
<li>
Tombol Cancel untuk membatalkan pemesanan.
</li>
</ul>
</h2>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"col-md-12 col-sm-12 col-xs-12"
>
<div
class=
"x_panel"
>
<div
class=
"x_title"
>
<h1>
Data Pemesanan tiket
<small>
Upload resi pembayaran
</small></h1>
<div
class=
"clearfix"
></div>
...
...
@@ -29,12 +59,13 @@
<thead>
<tr>
<th>
#
</th>
<th>
Jenis Tiket
</th>
<th>
Ticket
</th>
<th>
Tanggal berkunjung
</th>
<th>
Jumlah
</th>
<th>
Harga
</th>
<th>
Resi Pembayaran
</th>
<th>
Status
</th>
<th>
Action
</th>
<th>
Status
</th>
</tr>
</thead>
<tbody>
...
...
@@ -43,15 +74,16 @@
<tr>
<td>
{{$no++}}
</td>
<td>
{{$order->nama}}
</td>
<td>
{{$order->tanggal_kunjung}}
</td>
<td>
{{$order->jumlah}}
</td>
<td>
Rp {{$order->harga}},-
</td>
<td><img
src=
"{{ asset('image/'. $order->images) }}"
style=
"height: 150px; width: 200px; "
>
</td>
<td><button
class=
"btn btn-danger"
>
Belum Dikonfirmasi
</button>
</td>
<td>
<a
href=
"{{url('data_order/upload', $order->id)}}"
class=
"btn btn-primary"
>
Upload Resi Pembayaran
</a>
<a
href=
"{{url('/data_order/destroy',$order->id)}}"
class=
"btn btn-danger"
onclick=
"return confirm('Are you sure to cancel order??')"
>
Cancel
</a>
</td>
<td><p
style=
"font-size: 12pt; color: red"
><b>
Belum Dikonfirmasi
</b></p></td>
</tr>
@endforeach
</tbody>
...
...
resources/views/customers/ticket/upload.blade.php
View file @
eec22285
...
...
@@ -14,14 +14,7 @@
<div class="
col
-
md
-
12
col
-
sm
-
12
col
-
xs
-
12
">
<div class="
x_panel
">
<div class="
x_title
">
<h2>Hover rows <small>Try hovering over the rows</small></h2>
<ul class="
nav
navbar
-
right
panel_toolbox
">
<li><a class="
collapse
-
link
"><i class="
fa
fa
-
chevron
-
up
"></i></a>
</li>
<li class="
dropdown
">
<a href="
#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
</
li
>
</
ul
>
<h2>Upload Resi Pembayaran</h2>
<div class="
clearfix
"></div>
</div>
<div class="
x_content
">
...
...
@@ -29,7 +22,7 @@
<input name="
_method
" type="
hidden
" value="
PUT
">
{
{csrf_field()}
}
<label>
Jenis
Tiket</label>
<label>Tiket</label>
<div class="
form
-
group
{{
$errors
->
has
(
'nama'
)
?
' has-error'
:
''
}}
">
<input type="
text
" name="
nama
" class="
form
-
control
" value="
{{
$orders
->
nama
}}
" readonly>
{!!
$errors->first
('nama', '<p class="
help
-
block
">:message</p>') !!}
...
...
@@ -43,7 +36,7 @@
<label>Total Harga</label>
<div class="
form
-
group
{{
$errors
->
has
(
'harga'
)
?
' has-error'
:
''
}}
">
<input type="
text
" name="
harga
" class="
form
-
control
" value="
{{
$orders
->
harga
}}
" readonly>
<input type="
text
" name="
harga
" class="
form
-
control
" value="
IDR
{{
$orders
->
harga
}},
-
" readonly>
{!!
$errors->first
('harga', '<p class="
help
-
block
">:message</p>') !!}
</div>
...
...
resources/views/layouts/master-customer.blade.php
View file @
eec22285
...
...
@@ -10,24 +10,24 @@
<title>
TB Silalahi Center
</title>
<!-- Bootstrap -->
<link
href=
"{{asset('
..
/vendors/bootstrap/dist/css/bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/bootstrap/dist/css/bootstrap.min.css')}}"
rel=
"stylesheet"
>
<!-- Font Awesome -->
<link
href=
"{{asset('
..
/vendors/font-awesome/css/font-awesome.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/font-awesome/css/font-awesome.min.css')}}"
rel=
"stylesheet"
>
<!-- NProgress -->
<link
href=
"{{asset('
..
/vendors/nprogress/nprogress.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/nprogress/nprogress.css')}}"
rel=
"stylesheet"
>
<!-- bootstrap-daterangepicker -->
<link
href=
"{{asset('
..
/vendors/bootstrap-daterangepicker/daterangepicker.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/bootstrap-daterangepicker/daterangepicker.css')}}"
rel=
"stylesheet"
>
<!-- iCheck -->
<link
href=
"{{asset('
..
/vendors/iCheck/skins/flat/green.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/iCheck/skins/flat/green.css')}}"
rel=
"stylesheet"
>
<!-- Datatables -->
<link
href=
"{{asset('
..
/vendors/datatables.net-bs/css/dataTables.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-buttons-bs/css/buttons.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-fixedheader-bs/css/fixedHeader.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-responsive-bs/css/responsive.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-scroller-bs/css/scroller.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-bs/css/dataTables.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-buttons-bs/css/buttons.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-fixedheader-bs/css/fixedHeader.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-responsive-bs/css/responsive.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-scroller-bs/css/scroller.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<!-- Custom Theme Style -->
<link
href=
"{{asset('
..
/build/css/custom.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/build/css/custom.min.css')}}"
rel=
"stylesheet"
>
</head>
<body
class=
"nav-md"
>
...
...
@@ -148,54 +148,54 @@
</div>
<!-- jQuery -->
<script
src=
"{{asset('
..
/vendors/jquery/dist/jquery.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/jquery/dist/jquery.min.js')}}"
></script>
<!-- Bootstrap -->
<script
src=
"{{asset('
..
/vendors/bootstrap/dist/js/bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/bootstrap/dist/js/bootstrap.min.js')}}"
></script>
<!-- FastClick -->
<script
src=
"{{asset('
..
/vendors/fastclick/lib/fastclick.js')}}"
></script>
<script
src=
"{{asset('/vendors/fastclick/lib/fastclick.js')}}"
></script>
<!-- NProgress -->
<script
src=
"{{asset('
..
/vendors/nprogress/nprogress.js')}}"
></script>
<script
src=
"{{asset('/vendors/nprogress/nprogress.js')}}"
></script>
<!-- Chart.js -->
<script
src=
"{{asset('
..
/vendors/Chart.js/dist/Chart.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/Chart.js/dist/Chart.min.js')}}"
></script>
<!-- jQuery Sparklines -->
<script
src=
"{{asset('
..
/vendors/jquery-sparkline/dist/jquery.sparkline.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/jquery-sparkline/dist/jquery.sparkline.min.js')}}"
></script>
<!-- Flot -->
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.pie.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.time.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.stack.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.resize.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.pie.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.time.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.stack.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.resize.js')}}"
></script>
<!-- Flot plugins -->
<script
src=
"{{asset('
..
/vendors/flot.orderbars/js/jquery.flot.orderBars.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/flot-spline/js/jquery.flot.spline.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/flot.curvedlines/curvedLines.js')}}"
></script>
<script
src=
"{{asset('/vendors/flot.orderbars/js/jquery.flot.orderBars.js')}}"
></script>
<script
src=
"{{asset('/vendors/flot-spline/js/jquery.flot.spline.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/flot.curvedlines/curvedLines.js')}}"
></script>
<!-- DateJS -->
<script
src=
"{{asset('
..
/vendors/DateJS/build/date.js')}}"
></script>
<script
src=
"{{asset('/vendors/DateJS/build/date.js')}}"
></script>
<!-- bootstrap-daterangepicker -->
<script
src=
"{{asset('
..
/vendors/moment/min/moment.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/bootstrap-daterangepicker/daterangepicker.js')}}"
></script>
<script
src=
"{{asset('/vendors/moment/min/moment.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/bootstrap-daterangepicker/daterangepicker.js')}}"
></script>
<!-- iCheck -->
<script
src=
"{{asset('
..
/vendors/iCheck/icheck.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/iCheck/icheck.min.js')}}"
></script>
<!-- Datatables -->
<script
src=
"{{asset('
..
/vendors/datatables.net/js/jquery.dataTables.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-bs/js/dataTables.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/dataTables.buttons.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/buttons.flash.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/buttons.html5.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/buttons.print.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-keytable/js/dataTables.keyTable.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-responsive/js/dataTables.responsive.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-scroller/js/dataTables.scroller.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/jszip/dist/jszip.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/pdfmake/build/pdfmake.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/pdfmake/build/vfs_fonts.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net/js/jquery.dataTables.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-bs/js/dataTables.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/dataTables.buttons.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/buttons.flash.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/buttons.html5.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/buttons.print.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-keytable/js/dataTables.keyTable.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-responsive/js/dataTables.responsive.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-scroller/js/dataTables.scroller.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/jszip/dist/jszip.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/pdfmake/build/pdfmake.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/pdfmake/build/vfs_fonts.js')}}"
></script>
<!-- Custom Theme Scripts -->
<script
src=
"{{asset('
..
/build/js/custom.min.js')}}"
></script>
<script
src=
"{{asset('/build/js/custom.min.js')}}"
></script>
</body>
</html>
resources/views/layouts/master-manager.blade.php
View file @
eec22285
...
...
@@ -10,24 +10,24 @@
<title>
TB Silalahi Center
</title>
<!-- Bootstrap -->
<link
href=
"{{asset('
..
/vendors/bootstrap/dist/css/bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/bootstrap/dist/css/bootstrap.min.css')}}"
rel=
"stylesheet"
>
<!-- Font Awesome -->
<link
href=
"{{asset('
..
/vendors/font-awesome/css/font-awesome.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/font-awesome/css/font-awesome.min.css')}}"
rel=
"stylesheet"
>
<!-- NProgress -->
<link
href=
"{{asset('
..
/vendors/nprogress/nprogress.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/nprogress/nprogress.css')}}"
rel=
"stylesheet"
>
<!-- bootstrap-daterangepicker -->
<link
href=
"{{asset('
..
/vendors/bootstrap-daterangepicker/daterangepicker.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/bootstrap-daterangepicker/daterangepicker.css')}}"
rel=
"stylesheet"
>
<!-- iCheck -->
<link
href=
"{{asset('
..
/vendors/iCheck/skins/flat/green.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/iCheck/skins/flat/green.css')}}"
rel=
"stylesheet"
>
<!-- Datatables -->
<link
href=
"{{asset('
..
/vendors/datatables.net-bs/css/dataTables.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-buttons-bs/css/buttons.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-fixedheader-bs/css/fixedHeader.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-responsive-bs/css/responsive.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-scroller-bs/css/scroller.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-bs/css/dataTables.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-buttons-bs/css/buttons.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-fixedheader-bs/css/fixedHeader.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-responsive-bs/css/responsive.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-scroller-bs/css/scroller.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<!-- Custom Theme Style -->
<link
href=
"{{asset('
..
/build/css/custom.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/build/css/custom.min.css')}}"
rel=
"stylesheet"
>
</head>
<body
class=
"nav-md"
>
...
...
@@ -145,54 +145,54 @@
</div>
<!-- jQuery -->
<script
src=
"{{asset('
..
/vendors/jquery/dist/jquery.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/jquery/dist/jquery.min.js')}}"
></script>
<!-- Bootstrap -->
<script
src=
"{{asset('
..
/vendors/bootstrap/dist/js/bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/bootstrap/dist/js/bootstrap.min.js')}}"
></script>
<!-- FastClick -->
<script
src=
"{{asset('
..
/vendors/fastclick/lib/fastclick.js')}}"
></script>
<script
src=
"{{asset('/vendors/fastclick/lib/fastclick.js')}}"
></script>
<!-- NProgress -->
<script
src=
"{{asset('
..
/vendors/nprogress/nprogress.js')}}"
></script>
<script
src=
"{{asset('/vendors/nprogress/nprogress.js')}}"
></script>
<!-- Chart.js -->
<script
src=
"{{asset('
..
/vendors/Chart.js/dist/Chart.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/Chart.js/dist/Chart.min.js')}}"
></script>
<!-- jQuery Sparklines -->
<script
src=
"{{asset('
..
/vendors/jquery-sparkline/dist/jquery.sparkline.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/jquery-sparkline/dist/jquery.sparkline.min.js')}}"
></script>
<!-- Flot -->
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.pie.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.time.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.stack.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.resize.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.pie.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.time.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.stack.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.resize.js')}}"
></script>
<!-- Flot plugins -->
<script
src=
"{{asset('
..
/vendors/flot.orderbars/js/jquery.flot.orderBars.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/flot-spline/js/jquery.flot.spline.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/flot.curvedlines/curvedLines.js')}}"
></script>
<script
src=
"{{asset('/vendors/flot.orderbars/js/jquery.flot.orderBars.js')}}"
></script>
<script
src=
"{{asset('/vendors/flot-spline/js/jquery.flot.spline.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/flot.curvedlines/curvedLines.js')}}"
></script>
<!-- DateJS -->
<script
src=
"{{asset('
..
/vendors/DateJS/build/date.js')}}"
></script>
<script
src=
"{{asset('/vendors/DateJS/build/date.js')}}"
></script>
<!-- bootstrap-daterangepicker -->
<script
src=
"{{asset('
..
/vendors/moment/min/moment.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/bootstrap-daterangepicker/daterangepicker.js')}}"
></script>
<script
src=
"{{asset('/vendors/moment/min/moment.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/bootstrap-daterangepicker/daterangepicker.js')}}"
></script>
<!-- iCheck -->
<script
src=
"{{asset('
..
/vendors/iCheck/icheck.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/iCheck/icheck.min.js')}}"
></script>
<!-- Datatables -->
<script
src=
"{{asset('
..
/vendors/datatables.net/js/jquery.dataTables.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-bs/js/dataTables.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/dataTables.buttons.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/buttons.flash.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/buttons.html5.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/buttons.print.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-keytable/js/dataTables.keyTable.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-responsive/js/dataTables.responsive.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-scroller/js/dataTables.scroller.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/jszip/dist/jszip.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/pdfmake/build/pdfmake.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/pdfmake/build/vfs_fonts.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net/js/jquery.dataTables.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-bs/js/dataTables.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/dataTables.buttons.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/buttons.flash.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/buttons.html5.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/buttons.print.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-keytable/js/dataTables.keyTable.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-responsive/js/dataTables.responsive.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-scroller/js/dataTables.scroller.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/jszip/dist/jszip.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/pdfmake/build/pdfmake.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/pdfmake/build/vfs_fonts.js')}}"
></script>
<!-- Custom Theme Scripts -->
<script
src=
"{{asset('
..
/build/js/custom.min.js')}}"
></script>
<script
src=
"{{asset('/build/js/custom.min.js')}}"
></script>
</body>
</html>
</html>
\ No newline at end of file
resources/views/layouts/master-staff.blade.php
View file @
eec22285
...
...
@@ -10,24 +10,24 @@
<title>
TB Silalahi Center
</title>
<!-- Bootstrap -->
<link
href=
"{{asset('
..
/vendors/bootstrap/dist/css/bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/bootstrap/dist/css/bootstrap.min.css')}}"
rel=
"stylesheet"
>
<!-- Font Awesome -->
<link
href=
"{{asset('
..
/vendors/font-awesome/css/font-awesome.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/font-awesome/css/font-awesome.min.css')}}"
rel=
"stylesheet"
>
<!-- NProgress -->
<link
href=
"{{asset('
..
/vendors/nprogress/nprogress.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/nprogress/nprogress.css')}}"
rel=
"stylesheet"
>
<!-- bootstrap-daterangepicker -->
<link
href=
"{{asset('
..
/vendors/bootstrap-daterangepicker/daterangepicker.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/bootstrap-daterangepicker/daterangepicker.css')}}"
rel=
"stylesheet"
>
<!-- iCheck -->
<link
href=
"{{asset('
..
/vendors/iCheck/skins/flat/green.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/iCheck/skins/flat/green.css')}}"
rel=
"stylesheet"
>
<!-- Datatables -->
<link
href=
"{{asset('
..
/vendors/datatables.net-bs/css/dataTables.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-buttons-bs/css/buttons.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-fixedheader-bs/css/fixedHeader.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-responsive-bs/css/responsive.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('
..
/vendors/datatables.net-scroller-bs/css/scroller.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-bs/css/dataTables.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-buttons-bs/css/buttons.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-fixedheader-bs/css/fixedHeader.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-responsive-bs/css/responsive.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/datatables.net-scroller-bs/css/scroller.bootstrap.min.css')}}"
rel=
"stylesheet"
>
<!-- Custom Theme Style -->
<link
href=
"{{asset('
..
/build/css/custom.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/build/css/custom.min.css')}}"
rel=
"stylesheet"
>
</head>
<body
class=
"nav-md"
>
...
...
@@ -150,54 +150,54 @@
</div>
<!-- jQuery -->
<script
src=
"{{asset('
..
/vendors/jquery/dist/jquery.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/jquery/dist/jquery.min.js')}}"
></script>
<!-- Bootstrap -->
<script
src=
"{{asset('
..
/vendors/bootstrap/dist/js/bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/bootstrap/dist/js/bootstrap.min.js')}}"
></script>
<!-- FastClick -->
<script
src=
"{{asset('
..
/vendors/fastclick/lib/fastclick.js')}}"
></script>
<script
src=
"{{asset('/vendors/fastclick/lib/fastclick.js')}}"
></script>
<!-- NProgress -->
<script
src=
"{{asset('
..
/vendors/nprogress/nprogress.js')}}"
></script>
<script
src=
"{{asset('/vendors/nprogress/nprogress.js')}}"
></script>
<!-- Chart.js -->
<script
src=
"{{asset('
..
/vendors/Chart.js/dist/Chart.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/Chart.js/dist/Chart.min.js')}}"
></script>
<!-- jQuery Sparklines -->
<script
src=
"{{asset('
..
/vendors/jquery-sparkline/dist/jquery.sparkline.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/jquery-sparkline/dist/jquery.sparkline.min.js')}}"
></script>
<!-- Flot -->
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.pie.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.time.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.stack.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/Flot/jquery.flot.resize.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.pie.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.time.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.stack.js')}}"
></script>
<script
src=
"{{asset('/vendors/Flot/jquery.flot.resize.js')}}"
></script>
<!-- Flot plugins -->
<script
src=
"{{asset('
..
/vendors/flot.orderbars/js/jquery.flot.orderBars.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/flot-spline/js/jquery.flot.spline.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/flot.curvedlines/curvedLines.js')}}"
></script>
<script
src=
"{{asset('/vendors/flot.orderbars/js/jquery.flot.orderBars.js')}}"
></script>
<script
src=
"{{asset('/vendors/flot-spline/js/jquery.flot.spline.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/flot.curvedlines/curvedLines.js')}}"
></script>
<!-- DateJS -->
<script
src=
"{{asset('
..
/vendors/DateJS/build/date.js')}}"
></script>
<script
src=
"{{asset('/vendors/DateJS/build/date.js')}}"
></script>
<!-- bootstrap-daterangepicker -->
<script
src=
"{{asset('
..
/vendors/moment/min/moment.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/bootstrap-daterangepicker/daterangepicker.js')}}"
></script>
<script
src=
"{{asset('/vendors/moment/min/moment.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/bootstrap-daterangepicker/daterangepicker.js')}}"
></script>
<!-- iCheck -->
<script
src=
"{{asset('
..
/vendors/iCheck/icheck.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/iCheck/icheck.min.js')}}"
></script>
<!-- Datatables -->
<script
src=
"{{asset('
..
/vendors/datatables.net/js/jquery.dataTables.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-bs/js/dataTables.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/dataTables.buttons.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/buttons.flash.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/buttons.html5.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-buttons/js/buttons.print.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-keytable/js/dataTables.keyTable.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-responsive/js/dataTables.responsive.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/datatables.net-scroller/js/dataTables.scroller.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/jszip/dist/jszip.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/pdfmake/build/pdfmake.min.js')}}"
></script>
<script
src=
"{{asset('
..
/vendors/pdfmake/build/vfs_fonts.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net/js/jquery.dataTables.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-bs/js/dataTables.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/dataTables.buttons.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons-bs/js/buttons.bootstrap.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/buttons.flash.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/buttons.html5.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-buttons/js/buttons.print.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-fixedheader/js/dataTables.fixedHeader.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-keytable/js/dataTables.keyTable.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-responsive/js/dataTables.responsive.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-responsive-bs/js/responsive.bootstrap.js')}}"
></script>
<script
src=
"{{asset('/vendors/datatables.net-scroller/js/dataTables.scroller.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/jszip/dist/jszip.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/pdfmake/build/pdfmake.min.js')}}"
></script>
<script
src=
"{{asset('/vendors/pdfmake/build/vfs_fonts.js')}}"
></script>
<!-- Custom Theme Scripts -->
<script
src=
"{{asset('
..
/build/js/custom.min.js')}}"
></script>
<script
src=
"{{asset('/build/js/custom.min.js')}}"
></script>
</body>
</html>
resources/views/layouts/masterlog.blade.php
View file @
eec22285
...
...
@@ -10,16 +10,16 @@
<title>
TB Silalahi Center
</title>
<!-- Bootstrap -->
<link
href=
"{{asset('
..
/vendors/bootstrap/dist/css/bootstrap.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/bootstrap/dist/css/bootstrap.min.css')}}"
rel=
"stylesheet"
>
<!-- Font Awesome -->
<link
href=
"{{asset('
..
/vendors/font-awesome/css/font-awesome.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/font-awesome/css/font-awesome.min.css')}}"
rel=
"stylesheet"
>
<!-- NProgress -->
<link
href=
"{{asset('
..
/vendors/nprogress/nprogress.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/nprogress/nprogress.css')}}"
rel=
"stylesheet"
>
<!-- Animate.css -->
<link
href=
"{{asset('
..
/vendors/animate.css/animate.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/vendors/animate.css/animate.min.css')}}"
rel=
"stylesheet"
>
<!-- Custom Theme Style -->
<link
href=
"{{asset('
..
/build/css/custom.min.css')}}"
rel=
"stylesheet"
>
<link
href=
"{{asset('/build/css/custom.min.css')}}"
rel=
"stylesheet"
>
</head>
@yield('body')
...
...
resources/views/managers/daftar_feedback.blade.php
View file @
eec22285
...
...
@@ -31,7 +31,6 @@
<th>
Customer Name
</th>
<th>
Subjects
</th>
<th>
Feedback
</th>
<th>
Action
</th>
</tr>
</thead>
<tbody>
...
...
@@ -43,7 +42,6 @@
<td>
{{$feedback->first_name}}
</td>
<td>
{{$feedback->subjects}}
</td>
<td>
{{$feedback->description}}
</td>
<td></td>
</tr>
@endforeach
</tbody>
...
...
resources/views/managers/data_penjualan.blade.php
View file @
eec22285
...
...
@@ -44,6 +44,7 @@
<th>
Nama Customer
</th>
<th>
Jumlah
</th>
<th>
Total Harga
</th>
<th>
Tanggal Berkunjung
</th>
<th>
Status
</th>
</tr>
</thead>
...
...
@@ -57,6 +58,7 @@
<td>
{{$trans->first_name}}
</td>
<td>
{{$trans->jumlah}}
</td>
<td>
{{$trans->harga}}
</td>
<td>
{{$trans->tanggal_kunjung}}
</td>
<td>
Dibayar
</td>
</tr>
@endforeach
...
...
resources/views/managers/pengunjung.blade.php
View file @
eec22285
...
...
@@ -42,6 +42,7 @@
<th>
Nama Pengunjung
</th>
<th>
Jumlah Tiket
</th>
<th>
Total harga
</th>
<th>
Tanggal Berkunjung
</th>
<th>
Status
</th>
</tr>
</thead>
...
...
@@ -53,6 +54,7 @@
<td>
{{$pengunjung->nama_pengunjung}}
</td>
<td>
{{$pengunjung->jumlah}}
</td>
<td>
{{$pengunjung->total_harga}}
</td>
<td>
{{$pengunjung->created_at}}
</td>
<td>
Dibayar
</td>
</tr>
@endforeach
...
...
resources/views/staffs/daftar_member.blade.php
View file @
eec22285
...
...
@@ -44,11 +44,6 @@
<td>
{{$member->first_name}}
</td>
<td>
{{$member->last_name}}
</td>
<td>
{{$member->email}}
</td>
<td>
<form
method=
"POST"
action=
"{{}}"
accept-charset=
"UTF-8"
>
<a
href=
"#"
class=
"btn btn-danger"
>
Block User
</a>
</form>
</td>
</tr>
@endforeach
</tbody>
...
...
resources/views/staffs/data_pemesanan.blade.php
View file @
eec22285
...
...
@@ -32,9 +32,10 @@
<th>
#
</th>
<th>
User ID
</th>
<th>
Nama Customer
</th>
<th>
Jumlah
</th>
<th>
Harga
</th>
<th>
Jumlah
Tiket
</th>
<th>
Total
Harga
</th>
<th>
Resi Pembayaran
</th>
<th>
Tanggal Berkunjung
</th>
<th>
Action
</th>
</tr>
</thead>
...
...
@@ -48,6 +49,7 @@
<td>
{{$order->jumlah}}
</td>
<td>
{{$order->harga}}
</td>
<td><img
src=
"{{ asset('image/'. $order->images) }}"
style=
"height: 150px; width: 200px; "
>
</td>
<td>
{{$order->tanggal_kunjung}}
</td>
<td>
<a
href=
"{{url('/lunas',$order->id)}}"
class=
"btn btn-primary"
onclick=
"return confirm('Are you sure to confirm now??')"
>
Konfirmasi
</a>
...
...
resources/views/staffs/data_transaksi.blade.php
View file @
eec22285
...
...
@@ -35,6 +35,7 @@
<th>
Nama Customer
</th>
<th>
Jumlah
</th>
<th>
Total Harga
</th>
<th>
Tanggal Berkunjung
</th>
<th>
Status
</th>
</tr>
</thead>
...
...
@@ -48,7 +49,8 @@
<td>
{{$trans->first_name}}
</td>
<td>
{{$trans->jumlah}}
</td>
<td>
{{$trans->harga}}
</td>
<td>
Lunas/Dikonfirmasi
</td>
<td>
{{$trans->tanggal_kunjung}}
</td>
<td><p
style=
"color: blue"
>
Lunas/Dikonfirmasi
</p></td>
</tr>
@endforeach
</tbody>
...
...
resources/views/staffs/pengunjung.blade.php
View file @
eec22285
...
...
@@ -105,6 +105,7 @@
<th>Nama</th>
<th>Jumlah Tiket</th>
<th>Total Harga</th>
<th>Tanggal Berkunjung</th>
<th>Status</th>
</tr>
</thead>
...
...
@@ -116,6 +117,7 @@
<td>
{
{$peng->nama_pengunjung}
}
</td>
<td>
{
{$peng->jumlah}
}
</td>
<td>
{
{$peng->total_harga}
}
</td>
<td>
{
{$peng->created_at}
}
</td>
<td>Lunas</td>
</tr>
@endforeach
...
...
routes/web.php
View file @
eec22285
...
...
@@ -54,4 +54,4 @@ Route::group(['middleware' => 'customer'], function ()
Route
::
get
(
'/data_konfirmasi'
,
'TicketController@datakonfirmasi'
);
Route
::
get
(
'/feedback'
,
'CustomerController@feedbackIndex'
);
Route
::
post
(
'/feedback/create'
,
'CustomerController@createFeedback'
);
});
\ No newline at end of file
});
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