Commit f8696d96 by rizky

update

parent c97422db
......@@ -35,6 +35,8 @@ class CustomerController extends Controller
public function createFeedback(Request $request)
{
$feedbacks = new Feedback();
$feedbacks -> user_id = $request->user_id;
$feedbacks -> first_name = $request->first_name;
$feedbacks -> subjects = $request->subjects;
$feedbacks -> description = $request->description;
$feedbacks -> save();
......
......@@ -35,7 +35,9 @@ class StaffController extends Controller
public function viewMember()
{
$members = Sentinel::findRoleBySlug('customer');
$members = DB::table('users')->orderby('id', 'desc')->get();
return view('staffs.daftar_member', compact('members'));
}
......
......@@ -59,6 +59,7 @@ class TicketController extends Controller
$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->jumlah = $request->jumlah;
$jumlah = $request->jumlah;
......@@ -85,12 +86,13 @@ class TicketController extends Controller
$trans->id_order = $input->id;
$trans->id_ticket = $input->id_ticket;
$trans->user_id = $input->user_id;
$trans->first_name = $input->first_name;
$trans->nama = $input->nama;
$trans->jumlah = $input->jumlah;
$trans->harga = $input->harga;
$trans->status = $input->status;
$trans->save();
return redirect()->back();
return redirect()->back()->with('alert_success', 'Berhasil dikonfirmasi');
}
public function upload($id)
......
......@@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: May 22, 2017 at 04:03 AM
-- Generation Time: May 23, 2017 at 04:06 AM
-- Server version: 10.1.16-MariaDB
-- PHP Version: 7.0.9
......@@ -52,7 +52,8 @@ INSERT INTO `activations` (`id`, `user_id`, `code`, `completed`, `completed_at`,
(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');
(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');
-- --------------------------------------------------------
......@@ -62,6 +63,8 @@ INSERT INTO `activations` (`id`, `user_id`, `code`, `completed`, `completed_at`,
CREATE TABLE `feedback` (
`id` int(10) NOT NULL,
`user_id` int(10) NOT NULL,
`first_name` varchar(255) NOT NULL,
`subjects` varchar(255) NOT NULL,
`description` text NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
......@@ -72,8 +75,8 @@ CREATE TABLE `feedback` (
-- Dumping data for table `feedback`
--
INSERT INTO `feedback` (`id`, `subjects`, `description`, `created_at`, `updated_at`) VALUES
(1, 'kritik', 'kadkfaksfasf', '2017-05-19 07:41:28', '2017-05-19 07:41:28');
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');
-- --------------------------------------------------------
......@@ -109,6 +112,7 @@ CREATE TABLE `orders` (
`id` int(10) UNSIGNED NOT NULL,
`id_ticket` int(10) UNSIGNED DEFAULT NULL,
`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,
`jumlah` int(10) DEFAULT NULL,
`harga` int(11) DEFAULT NULL,
......@@ -122,12 +126,8 @@ CREATE TABLE `orders` (
-- Dumping data for table `orders`
--
INSERT INTO `orders` (`id`, `id_ticket`, `user_id`, `nama`, `jumlah`, `harga`, `images`, `status`, `created_at`, `updated_at`) VALUES
(2, 1, 4, 'Ticket Umum', 1, 10000, 'WhatsApp Image 2017-05-05 at 8.25.16 AM (1).jpeg', 1, '2017-05-18 09:05:36', '2017-05-18 02:00:48'),
(3, 1, 9, 'Ticket Umum', 2, 20000, NULL, 0, '2017-05-18 02:50:57', '2017-05-18 02:50:57'),
(4, 1, 8, 'Ticket Umum', 2, 20000, 'WhatsApp Image 2017-05-05 at 8.25.16 AM (1).jpeg', 0, '2017-05-18 10:00:01', '2017-05-18 03:00:01'),
(5, 1, 9, 'Ticket Umum', 10, 100000, NULL, 0, '2017-05-18 02:54:32', '2017-05-18 02:54:32'),
(6, 1, 4, 'Ticket Umum', 5, 50000, 'WhatsApp Image 2017-05-05 at 8.25.16 AM (1).jpeg', 0, '2017-05-19 04:19:58', '2017-05-18 21:19:58');
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');
-- --------------------------------------------------------
......@@ -201,7 +201,9 @@ INSERT INTO `persistences` (`id`, `user_id`, `code`, `created_at`, `updated_at`)
(128, 4, '4EUf14YeJsSVzHJc7MBpgQu4i8kxyw32', '2017-05-17 21:17:40', '2017-05-17 21:17:40'),
(139, 6, 'CyCpBuWDUOfRnVHx9wxDlS2HTp2tMjwc', '2017-05-18 03:00:11', '2017-05-18 03:00:11'),
(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'),
(181, 6, 'IHtAlZDxp2JajlR9kqFfLlKbPXuqA7rq', '2017-05-22 03:08:32', '2017-05-22 03:08:32');
-- --------------------------------------------------------
......@@ -265,7 +267,8 @@ 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');
(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');
-- --------------------------------------------------------
......@@ -350,7 +353,12 @@ INSERT INTO `throttle` (`id`, `user_id`, `type`, `ip`, `created_at`, `updated_at
(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');
(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');
-- --------------------------------------------------------
......@@ -385,6 +393,7 @@ CREATE TABLE `transactions` (
`id_order` int(10) NOT NULL,
`id_ticket` varchar(10) NOT NULL,
`user_id` int(10) NOT NULL,
`first_name` varchar(255) NOT NULL,
`nama` varchar(255) NOT NULL,
`jumlah` int(255) NOT NULL,
`harga` int(255) NOT NULL,
......@@ -398,8 +407,8 @@ CREATE TABLE `transactions` (
-- Dumping data for table `transactions`
--
INSERT INTO `transactions` (`id`, `id_order`, `id_ticket`, `user_id`, `nama`, `jumlah`, `harga`, `status`, `images`, `created_at`, `updated_at`) VALUES
(1, 2, '1', 4, 'Ticket Umum', 1, 10000, 1, 'ticket.png', '2017-05-18 02:05:36', '2017-05-18 02:05:36');
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');
-- --------------------------------------------------------
......@@ -424,11 +433,12 @@ 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-21 07:27:17', NULL, '2017-04-04 20:54:11', '2017-05-21 07:27:17'),
(4, 'Customer', 'Customer', 'customer@gmail.com', '$2y$10$nGsosAG9max/xyH/HPtWXOIMfi7g/EYOtPXuZp7wCM3feTi8XAyqW', '2017-05-21 06:57:41', NULL, '2017-04-10 05:32:22', '2017-05-21 06:57:41'),
(6, 'staff', 'adminsistrasi', 'staff@gmail.com', '$2y$10$WTohvoLmBzOMvXnDalxrVuC6PnMNouxspOJaqiNnfUGBp9bN4kYNm', '2017-05-21 07:27:28', NULL, '2017-04-28 22:35:32', '2017-05-21 07:27:28'),
(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');
(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');
--
-- Indexes for dumped tables
......@@ -525,12 +535,12 @@ ALTER TABLE `users`
-- AUTO_INCREMENT for table `activations`
--
ALTER TABLE `activations`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=15;
--
-- AUTO_INCREMENT for table `feedback`
--
ALTER TABLE `feedback`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=6;
--
-- AUTO_INCREMENT for table `migrations`
--
......@@ -540,7 +550,7 @@ ALTER TABLE `migrations`
-- AUTO_INCREMENT for table `orders`
--
ALTER TABLE `orders`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
--
-- AUTO_INCREMENT for table `pengunjungs`
--
......@@ -550,7 +560,7 @@ ALTER TABLE `pengunjungs`
-- AUTO_INCREMENT for table `persistences`
--
ALTER TABLE `persistences`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=158;
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=182;
--
-- AUTO_INCREMENT for table `reminders`
--
......@@ -565,7 +575,7 @@ ALTER TABLE `roles`
-- AUTO_INCREMENT for table `throttle`
--
ALTER TABLE `throttle`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=65;
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=70;
--
-- AUTO_INCREMENT for table `tickets`
--
......@@ -575,12 +585,12 @@ ALTER TABLE `tickets`
-- AUTO_INCREMENT for table `transactions`
--
ALTER TABLE `transactions`
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;
--
-- Constraints for dumped tables
--
......
public/img/header.jpg

123 KB | W: | H:

public/img/header.jpg

142 KB | W: | H:

public/img/header.jpg
public/img/header.jpg
public/img/header.jpg
public/img/header.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/fullsize/1.jpg

62.3 KB | W: | H:

public/img/portfolio/fullsize/1.jpg

136 KB | W: | H:

public/img/portfolio/fullsize/1.jpg
public/img/portfolio/fullsize/1.jpg
public/img/portfolio/fullsize/1.jpg
public/img/portfolio/fullsize/1.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/fullsize/2.jpg

47 KB | W: | H:

public/img/portfolio/fullsize/2.jpg

77.5 KB | W: | H:

public/img/portfolio/fullsize/2.jpg
public/img/portfolio/fullsize/2.jpg
public/img/portfolio/fullsize/2.jpg
public/img/portfolio/fullsize/2.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/fullsize/3.jpg

47.1 KB | W: | H:

public/img/portfolio/fullsize/3.jpg

84.7 KB | W: | H:

public/img/portfolio/fullsize/3.jpg
public/img/portfolio/fullsize/3.jpg
public/img/portfolio/fullsize/3.jpg
public/img/portfolio/fullsize/3.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/fullsize/4.jpg

47.9 KB | W: | H:

public/img/portfolio/fullsize/4.jpg

108 KB | W: | H:

public/img/portfolio/fullsize/4.jpg
public/img/portfolio/fullsize/4.jpg
public/img/portfolio/fullsize/4.jpg
public/img/portfolio/fullsize/4.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/fullsize/5.jpg

60.9 KB | W: | H:

public/img/portfolio/fullsize/5.jpg

80.7 KB | W: | H:

public/img/portfolio/fullsize/5.jpg
public/img/portfolio/fullsize/5.jpg
public/img/portfolio/fullsize/5.jpg
public/img/portfolio/fullsize/5.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/fullsize/6.jpg

52.2 KB | W: | H:

public/img/portfolio/fullsize/6.jpg

56.8 KB | W: | H:

public/img/portfolio/fullsize/6.jpg
public/img/portfolio/fullsize/6.jpg
public/img/portfolio/fullsize/6.jpg
public/img/portfolio/fullsize/6.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/thumbnails/1.jpg

62.3 KB | W: | H:

public/img/portfolio/thumbnails/1.jpg

136 KB | W: | H:

public/img/portfolio/thumbnails/1.jpg
public/img/portfolio/thumbnails/1.jpg
public/img/portfolio/thumbnails/1.jpg
public/img/portfolio/thumbnails/1.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/thumbnails/3.jpg

47.1 KB | W: | H:

public/img/portfolio/thumbnails/3.jpg

84.7 KB | W: | H:

public/img/portfolio/thumbnails/3.jpg
public/img/portfolio/thumbnails/3.jpg
public/img/portfolio/thumbnails/3.jpg
public/img/portfolio/thumbnails/3.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/thumbnails/4.jpg

47.9 KB | W: | H:

public/img/portfolio/thumbnails/4.jpg

108 KB | W: | H:

public/img/portfolio/thumbnails/4.jpg
public/img/portfolio/thumbnails/4.jpg
public/img/portfolio/thumbnails/4.jpg
public/img/portfolio/thumbnails/4.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/thumbnails/5.jpg

60.9 KB | W: | H:

public/img/portfolio/thumbnails/5.jpg

80.7 KB | W: | H:

public/img/portfolio/thumbnails/5.jpg
public/img/portfolio/thumbnails/5.jpg
public/img/portfolio/thumbnails/5.jpg
public/img/portfolio/thumbnails/5.jpg
  • 2-up
  • Swipe
  • Onion skin
public/img/portfolio/thumbnails/6.jpg

52.2 KB | W: | H:

public/img/portfolio/thumbnails/6.jpg

56.8 KB | W: | H:

public/img/portfolio/thumbnails/6.jpg
public/img/portfolio/thumbnails/6.jpg
public/img/portfolio/thumbnails/6.jpg
public/img/portfolio/thumbnails/6.jpg
  • 2-up
  • Swipe
  • Onion skin
......@@ -3,6 +3,7 @@
@section('content')
<!-- page content -->
<div class="right_col" role="main">
<h4> <a href="/customer" class="fa fa-home"> Home</a> </h4>
<div class="">
<div class="row top_tiles">
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
......
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Form Feedback</h3>
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="/feedback"> Feedback</a> </h4>
</div>
</div>
<div class="clearfix"></div>
......@@ -16,7 +16,7 @@
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Feedback </h2>
<h1>Feedback </h1>
<div class="clearfix"></div>
</div>
......@@ -39,6 +39,24 @@
<form action="{{url('/feedback/store')}}" method="post" data-parsley-validate class="form-horizontal form-label-left">
{{csrf_field()}}
<div class="form-group{{ $errors->has('user_id') ? ' has-error' : '' }}">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name" required >User ID
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" name="user_id" value="{{Sentinel::getUser()->id}}" class="form-control col-md-7 col-xs-12" readonly>
{!! $errors->first('user_id', '<p class="help-block">:message</p>') !!}
</div>
</div>
<div class="form-group{{ $errors->has('first_name') ? ' has-error' : '' }}">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name" required >Customer Name
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="text" name="first_name" value="{{Sentinel::getUser()->first_name}}" class="form-control col-md-7 col-xs-12" readonly>
{!! $errors->first('first_name', '<p class="help-block">:message</p>') !!}
</div>
</div>
<div class="form-group{{ $errors->has('subjects') ? ' has-error' : '' }}">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name" required >Subjects
<span class="required">*</span>
......@@ -63,7 +81,7 @@
<div class="form-group">
<div class="col-md-6 col-sm-6 col-xs-12 col-md-offset-3">
<button class="btn btn-primary" type="reset">Reset</button>
<button type="submit" class="btn btn-success">Simpan</button>
<button type="submit" class="btn btn-success">Kirim</button>
</div>
</div>
</form>
......
......@@ -6,7 +6,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Tables <small>Some examples to get you started</small></h3>
<h4><a href="/customer" class="fa fa-home"> Home</a> / <a href="#"> Beli</a></h4>
</div>
</div>
......@@ -30,6 +30,8 @@
{{ csrf_field() }}
<label class="col-md-4 control-label">User ID</label>
<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>
......
......@@ -7,18 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Tables <small>Some examples to get you started</small></h3>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div>
</div>
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="/data_konfirmasi"> Data Pemesanan Dikonfirmasi</a> </h4>
</div>
</div>
......@@ -27,14 +16,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>
<h1>Data Pemesanan Dikonfirmasi</h1>
<div class="clearfix"></div>
</div>
<div class="x_content">
......@@ -50,11 +32,12 @@
<th>#</th>
<th>ID Transaction</th>
<th>User ID</th>
<th>Jenis Tiket</th>
<th>Nama Customer</th>
<th>Jumlah</th>
<th>Total Harga</th>
<th>Status</th>
<th>Status dan Waktu Konfirmasi</th>
<th>Tiket download</th>
<th>Keterangan</th>
</tr>
</thead>
<tbody>
......@@ -64,11 +47,12 @@
<td>{{$no++}}</td>
<td>{{$trans->id}}</td>
<td>{{$trans->user_id}}</td>
<td>{{$trans->nama}}</td>
<td>{{$trans->first_name}}</td>
<td>{{$trans->jumlah}}</td>
<td>{{$trans->harga}}</td>
<td><button type="button" class="btn btn-success">Dikonfirmasi</button></td>
<td><button type="button" class="btn btn-success">Dikonfirmasi</button> <br>{{$trans->created_at}}</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>
@endforeach
</tbody>
......
......@@ -6,7 +6,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Data Pemesanan Tiket <small></small></h3>
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="/data_order"> Data Pemesanan Tiket</a> </h4>
</div>
</div>
......@@ -15,7 +15,7 @@
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Data Pemesanan tiket <small>Upload resi pembayaran</small></h2>
<h1>Data Pemesanan tiket <small>Upload resi pembayaran</small></h1>
<div class="clearfix"></div>
</div>
......
@if(Sentinel::check())
@extends('layouts.master-customer')
@section('content')
......@@ -7,19 +8,9 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Tables <small>Some examples to get you started</small></h3>
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="/ticket"> Ticket</a> </h4>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
......@@ -27,14 +18,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>Order Tiket</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
......@@ -48,7 +32,7 @@
<thead>
<tr>
<th>#</th>
<th>Ticket Category</th>
<th></th>
<th>Price</th>
<th></th>
<th>Action</th>
......@@ -60,7 +44,7 @@
<tr>
<td>{{$no++}}</td>
<td>{{$ticket->name}}</td>
<td>{{$ticket->price}}</td>
<td>Rp{{$ticket->price}},-</td>
<td><img src="{{ asset('image/'. $ticket->images) }}" style="height: 150px; width: 200px; "> </td>
{{--<td>--}}
......@@ -80,7 +64,6 @@
@endforeach
</tbody>
</table>
</div>
</div>
</div>
......@@ -88,4 +71,5 @@
</div>
</div>
<!-- /page content -->
@endsection
\ No newline at end of file
@endsection
@endif
\ No newline at end of file
@extends('layouts.master-admin')
@extends('layouts.master-customer')
@section('content')
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<div class="navbar nav_title" style="border: 0;">
<a href="/customer" class="site_title"><i class="fa fa-paw"></i> <span>TBS Center</span></a>
</div>
<div class="clearfix"></div>
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_pic">
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Welcome,</span>
<h2>Customer</h2>
</div>
</div>
<!-- /menu profile quick info -->
<br />
<!-- sidebar menu -->
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
<div class="menu_section">
<h3>General</h3>
<ul class="nav side-menu">
<li><a href="/customer"><i class="fa fa-home"></i> Home </a>
</li>
<li><a><i class="fa fa-table"></i> Order Ticket <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="/ticket">Pesan Ticket</a></li>
<li><a href="/data_order">Data Pemesanan</a></li>
<li><a href="data_konfirmasi">Data Pemesanan Dikonfirmasi</a></li>
</ul>
</li>
<li><a><i class="fa fa-edit"></i> Feedback <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href=""> Give Feedback</a></li>
</ul>
</li>
</ul>
</div>
</div>
<!-- /sidebar menu -->
<!-- /menu footer buttons -->
<div class="sidebar-footer hidden-small">
<a data-toggle="tooltip" data-placement="top" title="Settings">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="FullScreen">
<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Lock">
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
</a>
<a data-toggle="tooltip" data-placement="top" title="Logout" href="#">
<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
</a>
</div>
<!-- /menu footer buttons -->
</div>
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/customer" class="fa fa-home"> Home</a> / <a href="#"> Upload</a> </h4>
</div>
</div>
<!-- top navigation -->
<div class="top_nav">
<div class="nav_menu">
<nav>
<div class="nav toggle">
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
</div>
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img src="images/img.jpg" alt="">John Doe
<span class=" fa fa-angle-down"></span>
</a>
<ul class="dropdown-menu dropdown-usermenu pull-right">
<li><a href="javascript:;"></a></li>
<li>
<form action="/logout" method="POST" id="logout-form">
{{ csrf_field() }}
<a href="#" onclick="document.getElementById('logout-form').submit()"><i class="fa fa-sign-out fa-fw"></i>Logout</a>
</form>
</li>
</ul>
<div class="clearfix"></div>
<div class="row">
<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>
</nav>
</div>
</div>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Tables <small></small></h3>
</div>
<div class="clearfix"></div>
</div>
<div class="x_content">
<form action="{{url('/data_order/upload/'.$orders->id)}}" method="post" enctype="multipart/form-data">
<input name="_method" type="hidden" value="PUT">
{{csrf_field()}}
<label>Jenis 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>') !!}
</div>
<div class="clearfix"></div>
<div class="row">
<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>
<div class="clearfix"></div>
</div>
<div class="x_content">
<form action="{{url('/data_order/upload/'.$orders->id)}}" method="post" enctype="multipart/form-data">
<input name="_method" type="hidden" value="PUT">
{{csrf_field()}}
<label>Jenis 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>') !!}
</div>
<label>Jumlah</label>
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<input type="text" name="jumlah" class="form-control" value="{{$orders->jumlah}}" readonly>
{!! $errors->first('jumlah', '<p class="help-block">:message</p>') !!}
</div>
<label>Jumlah</label>
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<input type="text" name="jumlah" class="form-control" value="{{$orders->jumlah}}" readonly>
{!! $errors->first('jumlah', '<p class="help-block">:message</p>') !!}
</div>
<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>
{!! $errors->first('harga', '<p class="help-block">:message</p>') !!}
</div>
<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>
{!! $errors->first('harga', '<p class="help-block">:message</p>') !!}
</div>
<label>Upload Resi</label>
<div class="form-group{{ $errors->has('images') ? ' has-error' : '' }}">
<input type="file" id="inputimages" name="images" class="form-control">
{!! $errors->first('images', '<p class="help-block">:message</p>') !!}
</div>
<label>Upload Resi</label>
<div class="form-group{{ $errors->has('images') ? ' has-error' : '' }}">
<input type="file" id="inputimages" name="images" class="form-control">
{!! $errors->first('images', '<p class="help-block">:message</p>') !!}
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary" value="Save">
</div>
</form>
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary" value="Save">
</div>
</div>
</form>
</div>
</div>
</div>
<!-- /page content -->
<!-- footer content -->
<footer>
<div class="pull-right">
Copyright @ TB Silalahi Center 2017
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
</div>
</div>
</div>
<!-- /page content -->
@endsection
......@@ -56,12 +56,6 @@
<li>
<a class="page-scroll" href="/register">Register</a>
</li>
<li>
<a class="page-scroll" href="#about">Pesan</a>
</li>
<li>
<a class="page-scroll" href="#contact">Contact</a>
</li>
</ul>
</div>
<!-- /.navbar-collapse -->
......@@ -72,7 +66,7 @@
<header>
<div class="header-content">
<div class="header-content-inner">
<h1 id="homeHeading"> Museum TB Silalahi Center</h1>
<h1 id="homeHeading"> Sistem Informasi Pemesanan Tiket Museum TB Silalahi Center</h1>
<hr>
<p>Sistem pemesanan tiket Museum TB Silalahi Center!<br> Pesan tiket sekarang untuk menikmati Museum Batak
dan Museum Pribadi TB Silalahi Center</p>
......@@ -88,7 +82,7 @@
<h2 class="section-heading">Layanan Pemesanan Tiket</h2>
<hr class="light">
<p class="text-faded">Start Bootstrap has everything you need to get your new website up and running in no time! All of the templates and themes on Start Bootstrap are open source, free to download, and easy to use. No strings attached!</p>
<a href="#" class="page-scroll btn btn-default btn-xl sr-button">Pesan Sekarang</a>
{{--<a href="#" class="page-scroll btn btn-default btn-xl sr-button">Pesan Sekarang</a>--}}
</div>
</div>
</div>
......@@ -146,10 +140,10 @@
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Category
Tank
</div>
<div class="project-name">
Project Name
</div>
</div>
</div>
......@@ -161,10 +155,10 @@
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Category
Rambu
</div>
<div class="project-name">
Project Name
</div>
</div>
</div>
......@@ -176,10 +170,10 @@
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Category
Patung
</div>
<div class="project-name">
Project Name
</div>
</div>
</div>
......@@ -191,10 +185,10 @@
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Category
Buli-Buli Batak
</div>
<div class="project-name">
Project Name
</div>
</div>
</div>
......@@ -206,10 +200,10 @@
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Category
Becak BSA Siantar
</div>
<div class="project-name">
Project Name
</div>
</div>
</div>
......@@ -221,10 +215,100 @@
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Category
Koleksi Pribadi TB Silalahi
</div>
<div class="project-name">
</div>
</div>
</div>
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/7.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/7.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Rumah Adat
</div>
<div class="project-name">
</div>
</div>
</div>
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/8.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/8.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Museum The Battle of Sisingamangaraja
</div>
<div class="project-name">
</div>
</div>
</div>
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/9.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/9.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Patung Sisingamangaraja
</div>
<div class="project-name">
Project Name
</div>
</div>
</div>
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/10.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/10.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Industri Ulos
</div>
<div class="project-name">
</div>
</div>
</div>
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/11.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/11.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Koleksi Senjata
</div>
<div class="project-name">
</div>
</div>
</div>
</a>
</div>
<div class="col-lg-4 col-sm-6">
<a href="img/portfolio/fullsize/12.jpg" class="portfolio-box">
<img src="img/portfolio/thumbnails/12.jpg" class="img-responsive" alt="">
<div class="portfolio-box-caption">
<div class="portfolio-box-caption-content">
<div class="project-category text-faded">
Ruangan Kerja
</div>
<div class="project-name">
</div>
</div>
</div>
......@@ -238,7 +322,7 @@
<div class="container text-center">
<div class="call-to-action">
<h2>Museum Batak TB Silalahi Center Balige</h2>
<a href="" class="btn btn-default btn-xl sr-button">Visit now</a>
{{--<a href="#" class="btn btn-default btn-xl sr-button">Visit now</a>--}}
</div>
</div>
</aside>
......
......@@ -45,7 +45,7 @@
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_pic">
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
<img src="images/user.png" alt="..." class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Welcome,</span>
......@@ -114,7 +114,7 @@
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<i class="fa fa-user" ></i> {{Sentinel::getUser()->first_name}}
<img src="images/user.png" alt="">{{Sentinel::getUser()->first_name}}
<span class=" fa fa-angle-down"></span>
</a>
<ul class="dropdown-menu dropdown-usermenu pull-right">
......
......@@ -45,7 +45,7 @@
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_pic">
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
<img src="images/user.png" alt="..." class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Welcome,</span>
......@@ -112,7 +112,7 @@
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img src="images/img.jpg" alt="">{{Sentinel::getUser()->first_name}}
<img src="images/user.png" alt="">{{Sentinel::getUser()->first_name}}
<span class=" fa fa-angle-down"></span>
</a>
<ul class="dropdown-menu dropdown-usermenu pull-right">
......
......@@ -45,7 +45,7 @@
<!-- menu profile quick info -->
<div class="profile clearfix">
<div class="profile_pic">
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
<img src="images/user.png" alt="..." class="img-circle profile_img">
</div>
<div class="profile_info">
<span>Welcome,</span>
......@@ -76,6 +76,12 @@
<li><a href="/pengunjung">Input Data Pengunjung</a></li>
</ul>
</li>
<li><a><i class="fa fa-user"></i> Member <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="/member">View Member</a></li>
</ul>
</li>
</ul>
</div>
</div>
......@@ -111,7 +117,7 @@
<ul class="nav navbar-nav navbar-right">
<li class="">
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
<img src="images/img.jpg" alt="">{{Sentinel::getUser()->first_name}}
<img src="images/user.png" alt="">{{Sentinel::getUser()->first_name}}
<span class=" fa fa-angle-down"></span>
</a>
<ul class="dropdown-menu dropdown-usermenu pull-right">
......
......@@ -10,16 +10,16 @@
<title>TB Silalahi Center </title>
<!-- Bootstrap -->
<link href="../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="../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="../vendors/nprogress/nprogress.css" rel="stylesheet">
<link href="{{asset('../vendors/nprogress/nprogress.css')}}" rel="stylesheet">
<!-- Animate.css -->
<link href="../vendors/animate.css/animate.min.css" rel="stylesheet">
<link href="{{asset('../vendors/animate.css/animate.min.css')}}" rel="stylesheet">
<!-- Custom Theme Style -->
<link href="../build/css/custom.min.css" rel="stylesheet">
<link href="{{asset('../build/css/custom.min.css')}}" rel="stylesheet">
</head>
@yield('body')
......
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Users <small>Some examples to get you started</small></h3>
<h4> <a href="/manager" class="fa fa-home"> Home</a> / <a href="/viewfeedback"> Feedback</a> </h4>
</div>
</div>
......@@ -18,12 +18,7 @@
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Data Penjualan Tiket</h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
</li>
</ul>
<h2>Feedback</h2>
<div class="clearfix"></div>
</div>
......@@ -32,6 +27,8 @@
<thead>
<tr>
<th>#</th>
<th>User ID</th>
<th>Customer Name</th>
<th>Subjects</th>
<th>Feedback</th>
<th>Action</th>
......@@ -42,6 +39,8 @@
@foreach($feedbacks as $feedback)
<tr>
<td>{{$no++}}</td>
<td>{{$feedback->user_id}}</td>
<td>{{$feedback->first_name}}</td>
<td>{{$feedback->subjects}}</td>
<td>{{$feedback->description}}</td>
<td></td>
......
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Users <small>Some examples to get you started</small></h3>
<h4> <a href="/manager" class="fa fa-home"> Home</a> / <a href="/penjualan">Data Penjualan Tiket</a> </h4>
</div>
</div>
......@@ -18,12 +18,8 @@
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Data Penjualan Tiket</h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
</li>
</ul>
<h1>Data Penjualan Tiket</h1>
<div class="clearfix"></div>
</div>
......@@ -45,7 +41,7 @@
<th>#</th>
<th>ID Transaction</th>
<th>ID User</th>
<th>Jenis Tiket</th>
<th>Nama Customer</th>
<th>Jumlah</th>
<th>Total Harga</th>
<th>Status</th>
......@@ -58,7 +54,7 @@
<td>{{$no++}}</td>
<td>{{$trans->id}}</td>
<td>{{$trans->user_id}}</td>
<td>{{$trans->nama}}</td>
<td>{{$trans->first_name}}</td>
<td>{{$trans->jumlah}}</td>
<td>{{$trans->harga}}</td>
<td>Dibayar</td>
......
......@@ -5,6 +5,8 @@
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<h4> <a href="/manager" class="fa fa-home"> Home</a> </h4>
<div class="row top_tiles">
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">
......
......@@ -7,7 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Users <small>Some examples to get you started</small></h3>
<h4> <a href="/manager" class="fa fa-home"> Home</a> / <a href="/viewpengunjung">Daftar Pengunjung</a> </h4>
</div>
</div>
......@@ -19,11 +19,7 @@
<div class="x_panel">
<div class="x_title">
<h2>Data Penjualan Tiket</h2>
<ul class="nav navbar-right panel_toolbox">
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
</li>
</li>
</ul>
<div class="clearfix"></div>
</div>
......
@extends('layouts.master-staff')
@section('content')
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/staff" class="fa fa-home"> Home</a> / <a href="/member"> Member</a> </h4>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h1>Daftar Member </h1>
<div class="clearfix"></div>
</div>
<div class="x_content">
@if(Session::has('alert-success'))
<div class="alert alert-success">
{{ Session::get('alert-success') }}
</div>
@endif
<table class="table table-hover">
<thead>
<tr>
<th>#</th>
<th>User ID</th>
<th>First Name</th>
<th>Last Name</th>
<th>Email</th>
</tr>
</thead>
<tbody>
<?php $no=1; ?>
@foreach($members as $member)
<tr>
<td>{{$no++}}</td>
<td>{{$member->id}}</td>
<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>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
@endsection
\ No newline at end of file
<?php
/**
* Created by PhpStorm.
* User: totapetro
* Date: 5/18/2017
* Time: 8:31 PM
*/
\ No newline at end of file
......@@ -7,18 +7,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Tables <small>Some examples to get you started</small></h3>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div>
</div>
<h4> <a href="/staff" class="fa fa-home"> Home</a> / <a href="/pemesanan"> Pemesanan</a> </h4>
</div>
</div>
......@@ -27,14 +16,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>
<h1>Data Pemesanan Customer</h1>
<div class="clearfix"></div>
</div>
<div class="x_content">
......@@ -49,7 +31,7 @@
<tr>
<th>#</th>
<th>User ID</th>
<th>Jenis Tiket</th>
<th>Nama Customer</th>
<th>Jumlah</th>
<th>Harga</th>
<th>Resi Pembayaran</th>
......@@ -62,7 +44,7 @@
<tr>
<td>{{$no++}}</td>
<td>{{$order->user_id}}</td>
<td>{{$order->nama}}</td>
<td>{{$order->first_name}}</td>
<td>{{$order->jumlah}}</td>
<td>{{$order->harga}}</td>
<td><img src="{{ asset('image/'. $order->images) }}" style="height: 150px; width: 200px; "> </td>
......
......@@ -6,18 +6,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Tables <small>Some examples to get you started</small></h3>
</div>
<div class="title_right">
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
<div class="input-group">
<input type="text" class="form-control" placeholder="Search for...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div>
</div>
<h4> <a href="/staff" class="fa fa-home"> Home</a> / <a href="/data_transaksi">Data Transaksi</a> </h4>
</div>
</div>
......@@ -26,14 +15,8 @@
<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>
<h1>Data Transaksi Pemesanan Tiket</h1>
<div class="clearfix"></div>
</div>
<div class="x_content">
......@@ -49,7 +32,7 @@
<th>#</th>
<th>ID Transaction</th>
<th>ID User</th>
<th>Jenis Tiket</th>
<th>Nama Customer</th>
<th>Jumlah</th>
<th>Total Harga</th>
<th>Status</th>
......@@ -62,12 +45,12 @@
<td>{{$no++}}</td>
<td>{{$trans->id}}</td>
<td>{{$trans->user_id}}</td>
<td>{{$trans->nama}}</td>
<td>{{$trans->first_name}}</td>
<td>{{$trans->jumlah}}</td>
<td>{{$trans->harga}}</td>
<td>Lunas/Dikonfirmasi</td>
</tr>
l @endforeach
@endforeach
</tbody>
</table>
</div>
......
......@@ -6,7 +6,7 @@
<div class="">
<div class="page-title">
<div class="title_left">
<h3>Form Pengunjung</h3>
<h4> <a href="/staff" class="fa fa-home"> Home</a> / <a href="/pengunjung">Data Pengunjung </a> </h4>
</div>
</div>
......@@ -48,7 +48,7 @@
</div>
</div>
<div class="form-group{{ $errors->has('jumlah') ? ' has-error' : '' }}">
<div class="form-group{{ah $errors->has('juml') ? ' has-error' : '' }}">
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="first-name">Jumlah Tiket<span class="required">*</span>
</label>
<div class="col-md-6 col-sm-6 col-xs-12">
......
@if(Sentinel::check())
@extends('layouts.master-staff')
@extends('layouts.master-customer')
@section('content')
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="row top_tiles">
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">
<div class="icon"><i class="fa fa-caret-square-o-right"></i></div>
<div class="count">179</div>
<h3>New Sign ups</h3>
<p>Lorem ipsum psdea itgum rixt.</p>
</div>
</div>
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">
<div class="icon"><i class="fa fa-comments-o"></i></div>
<div class="count">179</div>
<h3>New Sign ups</h3>
<p>Lorem ipsum psdea itgum rixt.</p>
</div>
</div>
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">
<div class="icon"><i class="fa fa-sort-amount-desc"></i></div>
<div class="count">179</div>
<h3>New Sign ups</h3>
<p>Lorem ipsum psdea itgum rixt.</p>
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h4> <a href="/customer" class="fa fa-home"> Home</a> </h4>
</div>
</div>
<div class="animated flipInY col-lg-3 col-md-3 col-sm-6 col-xs-12">
<div class="tile-stats">
<div class="icon"><i class="fa fa-check-square-o"></i></div>
<div class="count">179</div>
<h3>New Sign ups</h3>
<p>Lorem ipsum psdea itgum rixt.</p>
<div class="clearfix"></div>
<div class="row">
<div class="col-md-12 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Welcome, {{Sentinel::getUser()->first_name}} to system</h2>
<div class="clearfix"></div>
</div>
<div class="x_content">
<ul>
<li>
<h2>Petunjuk Penggunaan System</h2>
<ul>
<li>
<p style="font-size: 15pt">Home : halaman awal sistem</p>
</li>
<li>
<p style="font-size: 15pt">Order Tiket</p>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /page content -->
<!-- /page content -->
@endsection
@endif
\ 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