Commit 5aa72300 by rizky
parents f237a8ad 8be07886
...@@ -19,8 +19,8 @@ class RegistrationController extends Controller ...@@ -19,8 +19,8 @@ class RegistrationController extends Controller
$this->validate($request, [ $this->validate($request, [
'first_name' => 'required|max:255', 'first_name' => 'required|max:255',
'last_name' => 'required|max:255', 'last_name' => 'required|max:255',
'email' => 'required|unique:users',
'password' => 'confirmed|required|min:6', 'password' => 'confirmed|required|min:6',
'password_confirmation' => 'confirmed|required|same:password'
]); ]);
$user = Sentinel::registerAndActivate($request->all()); $user = Sentinel::registerAndActivate($request->all());
......
...@@ -25,13 +25,24 @@ class TicketController extends Controller ...@@ -25,13 +25,24 @@ class TicketController extends Controller
{ {
$orders = Order::find($id); $orders = Order::find($id);
$file = $request->file('images'); // $this -> validate($request, [
$fileName = $file->getClientOriginalName(); // 'images' => 'mime: jpg, jpeg, png | max:2024',
$request->file('images')->move("image/", $fileName); // ]);
$orders->images = $fileName;
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) public function destroy($id)
...@@ -57,10 +68,11 @@ class TicketController extends Controller ...@@ -57,10 +68,11 @@ class TicketController extends Controller
public function storeorder(Request $request) public function storeorder(Request $request)
{ {
$orders = new Order(); $orders = new Order();
$orders->id_ticket = $request->id_ticket;
$orders->user_id = $request->user_id; $orders->user_id = $request->user_id;
$orders->first_name = $request->first_name; $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; $orders->jumlah = $request->jumlah;
$jumlah = $request->jumlah; $jumlah = $request->jumlah;
$harga = $request->harga; $harga = $request->harga;
...@@ -68,7 +80,7 @@ class TicketController extends Controller ...@@ -68,7 +80,7 @@ class TicketController extends Controller
$orders->harga = $total; $orders->harga = $total;
$orders->save(); $orders->save();
return redirect()->route('ticket.index')->with('alert-success', 'Ticket Success Ordered. return redirect()->route('ticket.index')->with('alert-success', 'Ticket Success Ordered.
Please pay by transfer bank to 1234567890 (ABC Bank). Please pay by transfer bank to 111-111-111 (ABC Bank).
Then, upload it in Data Pemesanan '); Then, upload it in Data Pemesanan ');
} }
...@@ -88,6 +100,7 @@ class TicketController extends Controller ...@@ -88,6 +100,7 @@ class TicketController extends Controller
$trans->user_id = $input->user_id; $trans->user_id = $input->user_id;
$trans->first_name = $input->first_name; $trans->first_name = $input->first_name;
$trans->nama = $input->nama; $trans->nama = $input->nama;
$trans->tanggal_kunjung = $input->tanggal_kunjung;
$trans->jumlah = $input->jumlah; $trans->jumlah = $input->jumlah;
$trans->harga = $input->harga; $trans->harga = $input->harga;
$trans->status = $input->status; $trans->status = $input->status;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net -- http://www.phpmyadmin.net
-- --
-- Host: 127.0.0.1 -- Host: 127.0.0.1
-- Generation Time: May 23, 2017 at 04:06 AM -- Generation Time: May 26, 2017 at 09:47 PM
-- Server version: 10.1.16-MariaDB -- Server version: 10.1.16-MariaDB
-- PHP Version: 7.0.9 -- PHP Version: 7.0.9
...@@ -41,19 +41,13 @@ CREATE TABLE `activations` ( ...@@ -41,19 +41,13 @@ CREATE TABLE `activations` (
-- --
INSERT INTO `activations` (`id`, `user_id`, `code`, `completed`, `completed_at`, `created_at`, `updated_at`) VALUES 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'), (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'), (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'), (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'), (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'), (10, 10, 'Auv94jCCYdwS7WwcwXRpFQd4w2cDwV4o', 1, '2017-05-26 01:20:48', '2017-05-26 01:20:48', '2017-05-26 01:20:48'),
(11, 10, 'UYKZvLb4OBrwak1WJnF2YGtEKvfOKEyI', 1, '2017-05-19 02:40:59', '2017-05-19 02:40:59', '2017-05-19 02:40:59'), (11, 11, 'uZh7wYyBis1kUlDvDY1xZs7acI8hNCzm', 1, '2017-05-26 01:40:06', '2017-05-26 01:40:06', '2017-05-26 01:40:06'),
(12, 10, 'dEqeLZvibqTkRGJk42L9wqHiXRiIWJpi', 1, '2017-05-21 07:24:36', '2017-05-21 07:24:36', '2017-05-21 07:24:36'), (12, 12, 'AIoE2iElBONlkK9jvoHj8O9oekZNbFUC', 1, '2017-05-26 01:45:29', '2017-05-26 01:45:29', '2017-05-26 01:45:29');
(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');
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -76,7 +70,7 @@ CREATE TABLE `feedback` ( ...@@ -76,7 +70,7 @@ CREATE TABLE `feedback` (
-- --
INSERT INTO `feedback` (`id`, `user_id`, `first_name`, `subjects`, `description`, `created_at`, `updated_at`) VALUES 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:55'); (9, 4, 'Customer', 'Selamat', 'Selamat\r\n', '2017-05-24 07:24:15', '2017-05-24 07:24:15');
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -110,10 +104,11 @@ INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES ...@@ -110,10 +104,11 @@ INSERT INTO `migrations` (`id`, `migration`, `batch`) VALUES
CREATE TABLE `orders` ( CREATE TABLE `orders` (
`id` int(10) UNSIGNED NOT NULL, `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, `user_id` int(10) NOT NULL,
`first_name` varchar(255) COLLATE utf8_unicode_ci 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, `jumlah` int(10) DEFAULT NULL,
`harga` int(11) DEFAULT NULL, `harga` int(11) DEFAULT NULL,
`images` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL, `images` varchar(255) COLLATE utf8_unicode_ci DEFAULT NULL,
...@@ -126,8 +121,8 @@ CREATE TABLE `orders` ( ...@@ -126,8 +121,8 @@ CREATE TABLE `orders` (
-- Dumping data for 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 INSERT INTO `orders` (`id`, `id_ticket`, `user_id`, `first_name`, `nama`, `tanggal_kunjung`, `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'); (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` ( ...@@ -149,7 +144,7 @@ CREATE TABLE `pengunjungs` (
-- --
INSERT INTO `pengunjungs` (`id`, `nama_pengunjung`, `jumlah`, `total_harga`, `created_at`, `updated_at`) VALUES 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`) ...@@ -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'), (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'), (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'), (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 ...@@ -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'), (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'), (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'), (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-26 01:20:48', '2017-05-26 01:20:48'),
(10, 3, '2017-05-22 01:19:06', '2017-05-22 01:19:06'); (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` ( ...@@ -290,75 +298,18 @@ CREATE TABLE `throttle` (
-- --
INSERT INTO `throttle` (`id`, `user_id`, `type`, `ip`, `created_at`, `updated_at`) VALUES 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'), (76, NULL, 'global', NULL, '2017-05-24 02:32:33', '2017-05-24 02:32:33'),
(2, NULL, 'ip', '::1', '2017-04-04 19:35:32', '2017-04-04 19:35:32'), (77, NULL, 'ip', '::1', '2017-05-24 02:32:33', '2017-05-24 02:32:33'),
(3, NULL, 'global', NULL, '2017-04-26 23:12:23', '2017-04-26 23:12:23'), (78, 6, 'user', NULL, '2017-05-24 02:32:33', '2017-05-24 02:32:33'),
(4, NULL, 'ip', '::1', '2017-04-26 23:12:23', '2017-04-26 23:12:23'), (79, NULL, 'global', NULL, '2017-05-24 07:02:58', '2017-05-24 07:02:58'),
(5, NULL, 'global', NULL, '2017-05-02 00:39:52', '2017-05-02 00:39:52'), (80, NULL, 'ip', '::1', '2017-05-24 07:02:58', '2017-05-24 07:02:58'),
(6, NULL, 'ip', '::1', '2017-05-02 00:39:52', '2017-05-02 00:39:52'), (81, 3, 'user', NULL, '2017-05-24 07:02:58', '2017-05-24 07:02:58'),
(7, 5, 'user', NULL, '2017-05-02 00:39:52', '2017-05-02 00:39:52'), (82, NULL, 'global', NULL, '2017-05-26 01:40:12', '2017-05-26 01:40:12'),
(8, NULL, 'global', NULL, '2017-05-02 00:40:00', '2017-05-02 00:40:00'), (83, NULL, 'ip', '::1', '2017-05-26 01:40:12', '2017-05-26 01:40:12'),
(9, NULL, 'ip', '::1', '2017-05-02 00:40:00', '2017-05-02 00:40:00'), (84, 11, 'user', NULL, '2017-05-26 01:40:12', '2017-05-26 01:40:12'),
(10, 5, 'user', NULL, '2017-05-02 00:40:00', '2017-05-02 00:40:00'), (85, NULL, 'global', NULL, '2017-05-26 07:43:10', '2017-05-26 07:43:10'),
(11, NULL, 'global', NULL, '2017-05-02 01:55:52', '2017-05-02 01:55:52'), (86, NULL, 'ip', '::1', '2017-05-26 07:43:10', '2017-05-26 07:43:10'),
(12, NULL, 'ip', '::1', '2017-05-02 01:55:52', '2017-05-02 01:55:52'), (87, 3, 'user', NULL, '2017-05-26 07:43:11', '2017-05-26 07:43:11');
(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');
-- -------------------------------------------------------- -- --------------------------------------------------------
...@@ -395,6 +346,7 @@ CREATE TABLE `transactions` ( ...@@ -395,6 +346,7 @@ CREATE TABLE `transactions` (
`user_id` int(10) NOT NULL, `user_id` int(10) NOT NULL,
`first_name` varchar(255) NOT NULL, `first_name` varchar(255) NOT NULL,
`nama` varchar(255) NOT NULL, `nama` varchar(255) NOT NULL,
`tanggal_kunjung` date NOT NULL,
`jumlah` int(255) NOT NULL, `jumlah` int(255) NOT NULL,
`harga` int(255) NOT NULL, `harga` int(255) NOT NULL,
`status` int(2) NOT NULL, `status` int(2) NOT NULL,
...@@ -407,8 +359,8 @@ CREATE TABLE `transactions` ( ...@@ -407,8 +359,8 @@ CREATE TABLE `transactions` (
-- Dumping data for 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 INSERT INTO `transactions` (`id`, `id_order`, `id_ticket`, `user_id`, `first_name`, `nama`, `tanggal_kunjung`, `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'); (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` ( ...@@ -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 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'), (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-22 02:45:18', NULL, '2017-04-10 05:32:22', '2017-05-22 02:45:18'), (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-22 03:08:32', NULL, '2017-04-28 22:35:32', '2017-05-22 03:08:32'), (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-19 01:47:41', NULL, '2017-05-18 02:27:46', '2017-05-19 01:47:41'), (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'),
(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, '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'),
(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'); (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 -- Indexes for dumped tables
...@@ -535,12 +488,12 @@ ALTER TABLE `users` ...@@ -535,12 +488,12 @@ ALTER TABLE `users`
-- AUTO_INCREMENT for table `activations` -- AUTO_INCREMENT for table `activations`
-- --
ALTER TABLE `activations` ALTER TABLE `activations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
-- --
-- AUTO_INCREMENT for table `feedback` -- AUTO_INCREMENT for table `feedback`
-- --
ALTER 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` -- AUTO_INCREMENT for table `migrations`
-- --
...@@ -550,7 +503,7 @@ ALTER TABLE `migrations` ...@@ -550,7 +503,7 @@ ALTER TABLE `migrations`
-- AUTO_INCREMENT for table `orders` -- AUTO_INCREMENT for table `orders`
-- --
ALTER 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` -- AUTO_INCREMENT for table `pengunjungs`
-- --
...@@ -560,7 +513,7 @@ ALTER TABLE `pengunjungs` ...@@ -560,7 +513,7 @@ ALTER TABLE `pengunjungs`
-- AUTO_INCREMENT for table `persistences` -- AUTO_INCREMENT for table `persistences`
-- --
ALTER 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` -- AUTO_INCREMENT for table `reminders`
-- --
...@@ -575,7 +528,7 @@ ALTER TABLE `roles` ...@@ -575,7 +528,7 @@ ALTER TABLE `roles`
-- AUTO_INCREMENT for table `throttle` -- AUTO_INCREMENT for table `throttle`
-- --
ALTER 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` -- AUTO_INCREMENT for table `tickets`
-- --
...@@ -585,12 +538,12 @@ ALTER TABLE `tickets` ...@@ -585,12 +538,12 @@ ALTER TABLE `tickets`
-- AUTO_INCREMENT for table `transactions` -- AUTO_INCREMENT for table `transactions`
-- --
ALTER 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` -- AUTO_INCREMENT for table `users`
-- --
ALTER TABLE `users` ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11; MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=13;
-- --
-- Constraints for dumped tables -- Constraints for dumped tables
-- --
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<div> <div>
<a href="{{url('/')}}"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a> <a href="{{url('/')}}"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a>
<p>Copyright © 2017 - All Rights Reserved. Privacy and Terms</p> <p>Copyright © 2017 TB Silalahi Center. All Rights Reserved.</p>
</div> </div>
</div> </div>
</form> </form>
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<div> <div>
<a href="{{url('/')}}"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a> <a href="{{url('/')}}"><h1><i class="fa fa-paw"></i> TB Silalahi Center</h1></a>
<p>Copyright © 2017 - All Rights Reserved. Privacy and Terms</p> <p>Copyright © 2017 TB Silalahi Center. All Rights Reserved.</p>
</div> </div>
</div> </div>
</form> </form>
......
...@@ -16,6 +16,14 @@ ...@@ -16,6 +16,14 @@
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<div class="x_panel"> <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"> <div class="x_title">
<h2>Media Gallery </h2> <h2>Media Gallery </h2>
<div class="clearfix"></div> <div class="clearfix"></div>
...@@ -27,7 +35,7 @@ ...@@ -27,7 +35,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/1.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/1.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Tank</p> <p>Tank</p>
...@@ -37,7 +45,7 @@ ...@@ -37,7 +45,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/2.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/2.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Rambu</p> <p>Rambu</p>
...@@ -47,7 +55,7 @@ ...@@ -47,7 +55,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/3.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/3.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Patung</p> <p>Patung</p>
...@@ -57,7 +65,7 @@ ...@@ -57,7 +65,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/4.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/4.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Buli-buli Batak</p> <p>Buli-buli Batak</p>
...@@ -67,7 +75,7 @@ ...@@ -67,7 +75,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/5.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/5.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Becak BSA Siantar</p> <p>Becak BSA Siantar</p>
...@@ -79,7 +87,7 @@ ...@@ -79,7 +87,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/6.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/6.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Koleksi</p> <p>Koleksi</p>
...@@ -89,7 +97,7 @@ ...@@ -89,7 +97,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/7.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/7.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Rumah Adat</p> <p>Rumah Adat</p>
...@@ -99,7 +107,7 @@ ...@@ -99,7 +107,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/8.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/8.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>The Battle of Sisingamangaraja XII</p> <p>The Battle of Sisingamangaraja XII</p>
...@@ -109,7 +117,7 @@ ...@@ -109,7 +117,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/9.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/9.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Patung Sisingamangaraja XII</p> <p>Patung Sisingamangaraja XII</p>
...@@ -119,7 +127,7 @@ ...@@ -119,7 +127,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/10.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/10.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Industri Ulos</p> <p>Industri Ulos</p>
...@@ -129,7 +137,7 @@ ...@@ -129,7 +137,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/11.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/11.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Koleksi Senjata Api</p> <p>Koleksi Senjata Api</p>
...@@ -139,7 +147,7 @@ ...@@ -139,7 +147,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/12.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/12.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Layout ruangan pribadi TB Silalahi</p> <p>Layout ruangan pribadi TB Silalahi</p>
...@@ -149,7 +157,7 @@ ...@@ -149,7 +157,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/13.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/13.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Topeng Batak</p> <p>Topeng Batak</p>
...@@ -159,7 +167,7 @@ ...@@ -159,7 +167,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/14.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/14.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Podang Raja</p> <p>Podang Raja</p>
...@@ -169,7 +177,7 @@ ...@@ -169,7 +177,7 @@
<div class="col-md-55"> <div class="col-md-55">
<div class="thumbnail"> <div class="thumbnail">
<div class="image view view-first"> <div class="image view view-first">
<img style="width: 100%; display: block;" src="img/portfolio/thumbnails/15.jpg" alt="image" /> <img style="width: 100%; display: block;" src="{{asset('img/portfolio/thumbnails/15.jpg')}}" alt="image" />
</div> </div>
<div class="caption"> <div class="caption">
<p>Koleksi jam dan arloji</p> <p>Koleksi jam dan arloji</p>
......
...@@ -12,10 +12,10 @@ ...@@ -12,10 +12,10 @@
<div class="clearfix"></div> <div class="clearfix"></div>
<div class="row"> <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_panel">
<div class="x_title"> <div class="x_title">
<h2>Jumlah Pesanan</h2> <h2>Jumlah Pesanan tiket tersedia <b>"{{$tickets->name}}"</b></h2>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
<div class="x_content"> <div class="x_content">
...@@ -27,12 +27,12 @@ ...@@ -27,12 +27,12 @@
<input type="text" value="{{Sentinel::getUser()->id}}" class="form-control" name="user_id" readonly> <input type="text" value="{{Sentinel::getUser()->id}}" class="form-control" name="user_id" readonly>
<label class="col-md-4 control-label">Name</label> <label class="col-md-4 control-label">Name</label>
<input type="text" value="{{Sentinel::getUser()->first_name}}" class="form-control" name="first_name" readonly> <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> <label class="col-md-4 control-label">Ticket</label>
<input type="text" value="{{$tickets->id}}" class="form-control" name="id_ticket" readonly> <input type="text" value="{{$tickets->name}}" class="form-control" name="nama_ticket" readonly>
<label class="col-md-4 control-label">Nama Ticket</label> <label class="col-md-4 control-label">Harga / ticket (IDR)</label>
<input type="text" value="{{$tickets->name}}" class="form-control" name="nama" readonly>
<label class="col-md-4 control-label">Harga (IDR)</label>
<input type="number" value="{{$tickets->price}}" class="form-control" name="harga" readonly> <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> <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> <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> <label class="col-md-4 control-label">Total Harga (IDR)</label><br>
...@@ -48,6 +48,21 @@ ...@@ -48,6 +48,21 @@
</div> </div>
</div> </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> </div>
</div> </div>
......
...@@ -36,7 +36,8 @@ ...@@ -36,7 +36,8 @@
<th>Jumlah</th> <th>Jumlah</th>
<th>Total Harga</th> <th>Total Harga</th>
<th>Status dan Waktu Konfirmasi</th> <th>Status dan Waktu Konfirmasi</th>
<th>Tiket download</th> <td>Tanggal Berkunjung</td>
<th>Image</th>
<th>Keterangan</th> <th>Keterangan</th>
</tr> </tr>
</thead> </thead>
...@@ -50,7 +51,8 @@ ...@@ -50,7 +51,8 @@
<td>{{$trans->first_name}}</td> <td>{{$trans->first_name}}</td>
<td>{{$trans->jumlah}}</td> <td>{{$trans->jumlah}}</td>
<td>{{$trans->harga}}</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><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> <td>Tiket berlaku paling lama 2 hari sejak dikonfirmasinya pemesanan tiket</td>
</tr> </tr>
......
...@@ -15,6 +15,36 @@ ...@@ -15,6 +15,36 @@
<div class="col-md-12 col-sm-12 col-xs-12"> <div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel"> <div class="x_panel">
<div class="x_title"> <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> <h1>Data Pemesanan tiket <small>Upload resi pembayaran</small></h1>
<div class="clearfix"></div> <div class="clearfix"></div>
...@@ -29,12 +59,13 @@ ...@@ -29,12 +59,13 @@
<thead> <thead>
<tr> <tr>
<th>#</th> <th>#</th>
<th>Jenis Tiket</th> <th>Ticket</th>
<th>Tanggal berkunjung</th>
<th>Jumlah</th> <th>Jumlah</th>
<th>Harga</th> <th>Harga</th>
<th>Resi Pembayaran</th> <th>Resi Pembayaran</th>
<th>Status</th>
<th>Action</th> <th>Action</th>
<th>Status</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -43,15 +74,16 @@ ...@@ -43,15 +74,16 @@
<tr> <tr>
<td>{{$no++}}</td> <td>{{$no++}}</td>
<td>{{$order->nama}}</td> <td>{{$order->nama}}</td>
<td>{{$order->tanggal_kunjung}}</td>
<td>{{$order->jumlah}}</td> <td>{{$order->jumlah}}</td>
<td>Rp {{$order->harga}},-</td> <td>Rp {{$order->harga}},-</td>
<td><img src="{{ asset('image/'. $order->images) }}" style="height: 150px; width: 200px; "> </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> <td>
<a href="{{url('data_order/upload', $order->id)}}" class="btn btn-primary">Upload Resi Pembayaran</a> <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" <a href="{{url('/data_order/destroy',$order->id)}}" class="btn btn-danger"
onclick="return confirm('Are you sure to cancel order??')">Cancel</a> onclick="return confirm('Are you sure to cancel order??')">Cancel</a>
</td> </td>
<td><p style="font-size: 12pt; color: red"><b>Belum Dikonfirmasi</b></p></td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>
......
...@@ -14,14 +14,7 @@ ...@@ -14,14 +14,7 @@
<div class="col-md-12 col-sm-12 col-xs-12"> <div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel"> <div class="x_panel">
<div class="x_title"> <div class="x_title">
<h2>Hover rows <small>Try hovering over the rows</small></h2> <h2>Upload Resi Pembayaran</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>
<div class="clearfix"></div> <div class="clearfix"></div>
</div> </div>
<div class="x_content"> <div class="x_content">
...@@ -29,7 +22,7 @@ ...@@ -29,7 +22,7 @@
<input name="_method" type="hidden" value="PUT"> <input name="_method" type="hidden" value="PUT">
{{csrf_field()}} {{csrf_field()}}
<label>Jenis Tiket</label> <label>Tiket</label>
<div class="form-group{{ $errors->has('nama') ? ' has-error' : '' }}"> <div class="form-group{{ $errors->has('nama') ? ' has-error' : '' }}">
<input type="text" name="nama" class="form-control" value="{{$orders->nama}}" readonly> <input type="text" name="nama" class="form-control" value="{{$orders->nama}}" readonly>
{!! $errors->first('nama', '<p class="help-block">:message</p>') !!} {!! $errors->first('nama', '<p class="help-block">:message</p>') !!}
...@@ -43,7 +36,7 @@ ...@@ -43,7 +36,7 @@
<label>Total Harga</label> <label>Total Harga</label>
<div class="form-group{{ $errors->has('harga') ? ' has-error' : '' }}"> <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>') !!} {!! $errors->first('harga', '<p class="help-block">:message</p>') !!}
</div> </div>
......
...@@ -344,7 +344,7 @@ ...@@ -344,7 +344,7 @@
<aside class="bg-dark"> <aside class="bg-dark">
<div class="container text-center"> <div class="container text-center">
<p>Copyright 2017 Museum TB Silalahi Center</p> <p>Copyright © 2017 TB Silalahi Center. All Rights Reserved.</p>
</div> </div>
</aside> </aside>
...@@ -358,8 +358,7 @@ ...@@ -358,8 +358,7 @@
<!-- Plugin JavaScript --> <!-- Plugin JavaScript -->
<script src="{{asset('https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js')}}"></script> <script src="{{asset('https://cdnjs.cloudflare.com/ajax/libs/jquery-easing/1.3/jquery.easing.min.js')}}"></script>
<script src="{{asset('vendor/scrollreveal/scrollreveal.min.js')}}"></script> <script src="{{asset('vendor/scrollreveal/scrollreveal.min.js')}}"></script>
<script src="{{asset <script src="{{asset('vendor/magnific-popup/jquery.magnific-popup.min.js')}}"></script>
('vendor/magnific-popup/jquery.magnific-popup.min.js')}}"></script>
<!-- Theme JavaScript --> <!-- Theme JavaScript -->
<script src="{{asset('js/creative.min.js')}}"></script> <script src="{{asset('js/creative.min.js')}}"></script>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<!-- menu profile quick info --> <!-- menu profile quick info -->
<div class="profile clearfix"> <div class="profile clearfix">
<div class="profile_pic"> <div class="profile_pic">
<img src="images/user.png" alt="..." class="img-circle profile_img"> <img src="{{asset('images/user.png')}}" alt="..." class="img-circle profile_img">
</div> </div>
<div class="profile_info"> <div class="profile_info">
<span>Welcome,</span> <span>Welcome,</span>
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li class=""> <li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img src="images/user.png" alt="">{{Sentinel::getUser()->first_name}} <img src="{{asset('images/user.png')}}" alt="">{{Sentinel::getUser()->first_name}}
<span class=" fa fa-angle-down"></span> <span class=" fa fa-angle-down"></span>
</a> </a>
<ul class="dropdown-menu dropdown-usermenu pull-right"> <ul class="dropdown-menu dropdown-usermenu pull-right">
...@@ -139,7 +139,7 @@ ...@@ -139,7 +139,7 @@
<!-- footer content --> <!-- footer content -->
<footer> <footer>
<div class="pull-right"> <div class="pull-right">
Copyright © 2017 - TB Silalahi Center <p>Copyright © 2017 TB Silalahi Center. All Rights Reserved.</p>
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</footer> </footer>
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<!-- menu profile quick info --> <!-- menu profile quick info -->
<div class="profile clearfix"> <div class="profile clearfix">
<div class="profile_pic"> <div class="profile_pic">
<img src="images/user.png" alt="..." class="img-circle profile_img"> <img src="{{asset('images/user.png')}}" alt="..." class="img-circle profile_img">
</div> </div>
<div class="profile_info"> <div class="profile_info">
<span>Welcome,</span> <span>Welcome,</span>
...@@ -112,7 +112,7 @@ ...@@ -112,7 +112,7 @@
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li class=""> <li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img src="images/user.png" alt="">{{Sentinel::getUser()->first_name}} <img src="{{asset('images/user.png')}}" alt="">{{Sentinel::getUser()->first_name}}
<span class=" fa fa-angle-down"></span> <span class=" fa fa-angle-down"></span>
</a> </a>
<ul class="dropdown-menu dropdown-usermenu pull-right"> <ul class="dropdown-menu dropdown-usermenu pull-right">
...@@ -136,7 +136,7 @@ ...@@ -136,7 +136,7 @@
<!-- footer content --> <!-- footer content -->
<footer> <footer>
<div class="pull-right"> <div class="pull-right">
Copyright © 2017 - TB Silalahi Center <p>Copyright © 2017 TB Silalahi Center. All Rights Reserved.</p>
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</footer> </footer>
...@@ -195,4 +195,4 @@ ...@@ -195,4 +195,4 @@
<!-- Custom Theme Scripts --> <!-- Custom Theme Scripts -->
<script src="{{asset('../build/js/custom.min.js')}}"></script> <script src="{{asset('../build/js/custom.min.js')}}"></script>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
<!-- menu profile quick info --> <!-- menu profile quick info -->
<div class="profile clearfix"> <div class="profile clearfix">
<div class="profile_pic"> <div class="profile_pic">
<img src="images/user.png" alt="..." class="img-circle profile_img"> <img src="{{asset('images/user.png')}}" alt="..." class="img-circle profile_img">
</div> </div>
<div class="profile_info"> <div class="profile_info">
<span>Welcome,</span> <span>Welcome,</span>
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
<li class=""> <li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false"> <a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img src="images/user.png" alt="">{{Sentinel::getUser()->first_name}} <img src="{{asset('images/user.png')}}" alt="">{{Sentinel::getUser()->first_name}}
<span class=" fa fa-angle-down"></span> <span class=" fa fa-angle-down"></span>
</a> </a>
<ul class="dropdown-menu dropdown-usermenu pull-right"> <ul class="dropdown-menu dropdown-usermenu pull-right">
...@@ -141,7 +141,7 @@ ...@@ -141,7 +141,7 @@
<!-- footer content --> <!-- footer content -->
<footer> <footer>
<div class="pull-right"> <div class="pull-right">
Copyright © 2017 - TB Silalahi Center <p>Copyright © 2017 TB Silalahi Center. All Rights Reserved.</p>
</div> </div>
<div class="clearfix"></div> <div class="clearfix"></div>
</footer> </footer>
......
...@@ -31,7 +31,6 @@ ...@@ -31,7 +31,6 @@
<th>Customer Name</th> <th>Customer Name</th>
<th>Subjects</th> <th>Subjects</th>
<th>Feedback</th> <th>Feedback</th>
<th>Action</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -43,7 +42,6 @@ ...@@ -43,7 +42,6 @@
<td>{{$feedback->first_name}}</td> <td>{{$feedback->first_name}}</td>
<td>{{$feedback->subjects}}</td> <td>{{$feedback->subjects}}</td>
<td>{{$feedback->description}}</td> <td>{{$feedback->description}}</td>
<td></td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>
......
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
<th>Nama Customer</th> <th>Nama Customer</th>
<th>Jumlah</th> <th>Jumlah</th>
<th>Total Harga</th> <th>Total Harga</th>
<th>Tanggal Berkunjung</th>
<th>Status</th> <th>Status</th>
</tr> </tr>
</thead> </thead>
...@@ -57,6 +58,7 @@ ...@@ -57,6 +58,7 @@
<td>{{$trans->first_name}}</td> <td>{{$trans->first_name}}</td>
<td>{{$trans->jumlah}}</td> <td>{{$trans->jumlah}}</td>
<td>{{$trans->harga}}</td> <td>{{$trans->harga}}</td>
<td>{{$trans->tanggal_kunjung}}</td>
<td>Dibayar</td> <td>Dibayar</td>
</tr> </tr>
@endforeach @endforeach
......
...@@ -42,6 +42,7 @@ ...@@ -42,6 +42,7 @@
<th>Nama Pengunjung</th> <th>Nama Pengunjung</th>
<th>Jumlah Tiket</th> <th>Jumlah Tiket</th>
<th>Total harga</th> <th>Total harga</th>
<th>Tanggal Berkunjung</th>
<th>Status</th> <th>Status</th>
</tr> </tr>
</thead> </thead>
...@@ -53,6 +54,7 @@ ...@@ -53,6 +54,7 @@
<td>{{$pengunjung->nama_pengunjung}}</td> <td>{{$pengunjung->nama_pengunjung}}</td>
<td>{{$pengunjung->jumlah}}</td> <td>{{$pengunjung->jumlah}}</td>
<td>{{$pengunjung->total_harga}}</td> <td>{{$pengunjung->total_harga}}</td>
<td>{{$pengunjung->created_at}}</td>
<td>Dibayar</td> <td>Dibayar</td>
</tr> </tr>
@endforeach @endforeach
......
...@@ -44,11 +44,6 @@ ...@@ -44,11 +44,6 @@
<td>{{$member->first_name}}</td> <td>{{$member->first_name}}</td>
<td>{{$member->last_name}}</td> <td>{{$member->last_name}}</td>
<td>{{$member->email}}</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> </tr>
@endforeach @endforeach
</tbody> </tbody>
......
...@@ -32,9 +32,10 @@ ...@@ -32,9 +32,10 @@
<th>#</th> <th>#</th>
<th>User ID</th> <th>User ID</th>
<th>Nama Customer</th> <th>Nama Customer</th>
<th>Jumlah</th> <th>Jumlah Tiket</th>
<th>Harga</th> <th>Total Harga</th>
<th>Resi Pembayaran</th> <th>Resi Pembayaran</th>
<th>Tanggal Berkunjung</th>
<th>Action</th> <th>Action</th>
</tr> </tr>
</thead> </thead>
...@@ -48,6 +49,7 @@ ...@@ -48,6 +49,7 @@
<td>{{$order->jumlah}}</td> <td>{{$order->jumlah}}</td>
<td>{{$order->harga}}</td> <td>{{$order->harga}}</td>
<td><img src="{{ asset('image/'. $order->images) }}" style="height: 150px; width: 200px; "> </td> <td><img src="{{ asset('image/'. $order->images) }}" style="height: 150px; width: 200px; "> </td>
<td>{{$order->tanggal_kunjung}}</td>
<td> <td>
<a href="{{url('/lunas',$order->id)}}" class="btn btn-primary" <a href="{{url('/lunas',$order->id)}}" class="btn btn-primary"
onclick="return confirm('Are you sure to confirm now??')">Konfirmasi</a> onclick="return confirm('Are you sure to confirm now??')">Konfirmasi</a>
......
...@@ -35,6 +35,7 @@ ...@@ -35,6 +35,7 @@
<th>Nama Customer</th> <th>Nama Customer</th>
<th>Jumlah</th> <th>Jumlah</th>
<th>Total Harga</th> <th>Total Harga</th>
<th>Tanggal Berkunjung</th>
<th>Status</th> <th>Status</th>
</tr> </tr>
</thead> </thead>
...@@ -48,7 +49,8 @@ ...@@ -48,7 +49,8 @@
<td>{{$trans->first_name}}</td> <td>{{$trans->first_name}}</td>
<td>{{$trans->jumlah}}</td> <td>{{$trans->jumlah}}</td>
<td>{{$trans->harga}}</td> <td>{{$trans->harga}}</td>
<td>Lunas/Dikonfirmasi</td> <td>{{$trans->tanggal_kunjung}}</td>
<td><p style="color: blue">Lunas/Dikonfirmasi</p></td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>
......
...@@ -105,6 +105,7 @@ ...@@ -105,6 +105,7 @@
<th>Nama</th> <th>Nama</th>
<th>Jumlah Tiket</th> <th>Jumlah Tiket</th>
<th>Total Harga</th> <th>Total Harga</th>
<th>Tanggal Berkunjung</th>
<th>Status</th> <th>Status</th>
</tr> </tr>
</thead> </thead>
...@@ -116,6 +117,7 @@ ...@@ -116,6 +117,7 @@
<td>{{$peng->nama_pengunjung}}</td> <td>{{$peng->nama_pengunjung}}</td>
<td>{{$peng->jumlah}}</td> <td>{{$peng->jumlah}}</td>
<td>{{$peng->total_harga}}</td> <td>{{$peng->total_harga}}</td>
<td>{{$peng->created_at}}</td>
<td>Lunas</td> <td>Lunas</td>
</tr> </tr>
@endforeach @endforeach
......
...@@ -54,4 +54,4 @@ Route::group(['middleware' => 'customer'], function () ...@@ -54,4 +54,4 @@ Route::group(['middleware' => 'customer'], function ()
Route::get('/data_konfirmasi','TicketController@datakonfirmasi'); Route::get('/data_konfirmasi','TicketController@datakonfirmasi');
Route::get('/feedback', 'CustomerController@feedbackIndex'); Route::get('/feedback', 'CustomerController@feedbackIndex');
Route::post('/feedback/create', 'CustomerController@createFeedback'); Route::post('/feedback/create', 'CustomerController@createFeedback');
}); });
\ No newline at end of file
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