melengkapi dan memeperbaiki fungsi-fungsi

parent 6aa84757
......@@ -5,13 +5,22 @@
</component>
<component name="ChangeListManager">
<list default="true" id="739c9fa3-6977-4714-a6b6-4fb9524da89b" name="Default" comment="">
<change type="DELETED" beforePath="$PROJECT_DIR$/public/img/9c4ac4911dad63a95c6722abc8d392a0.JPG" afterPath="" />
<change type="DELETED" beforePath="$PROJECT_DIR$/public/img/f1ec699e641fefa9a48f3d819482f7da.JPG" afterPath="" />
<change type="NEW" beforePath="" afterPath="$PROJECT_DIR$/resources/views/authors/pesanan.blade.php" />
<change type="MOVED" beforePath="$PROJECT_DIR$/resources/views/dashboard/admin.blade.php" afterPath="$PROJECT_DIR$/resources/views/dashboard/manager.blade.php" />
<change type="MOVED" beforePath="$PROJECT_DIR$/resources/views/dashboard/manager.blade.php" afterPath="$PROJECT_DIR$/resources/views/dashboard/admin.blade.php" />
<change type="MOVED" beforePath="$PROJECT_DIR$/resources/views/dashboard/member.blade.php" afterPath="$PROJECT_DIR$/resources/views/dashboard/customer.blade.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/Http/Controllers/BooksController.php" afterPath="$PROJECT_DIR$/app/Http/Controllers/BooksController.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/Http/Controllers/HomeController.php" afterPath="$PROJECT_DIR$/app/Http/Controllers/HomeController.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/Http/Controllers/pegawaiController.php" afterPath="$PROJECT_DIR$/app/Http/Controllers/pegawaiController.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/app/Pegawai.php" afterPath="$PROJECT_DIR$/app/Pegawai.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/database/seeds/UsersSeeder.php" afterPath="$PROJECT_DIR$/database/seeds/UsersSeeder.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/resources/views/authors/create.blade.php" afterPath="$PROJECT_DIR$/resources/views/authors/create.blade.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/resources/views/authors/pegawai.blade.php" afterPath="$PROJECT_DIR$/resources/views/authors/pegawai.blade.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/resources/views/authors/edit.blade.php" afterPath="$PROJECT_DIR$/resources/views/authors/edit.blade.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/resources/views/authors/index.blade.php" afterPath="$PROJECT_DIR$/resources/views/authors/index.blade.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/resources/views/layouts/app.blade.php" afterPath="$PROJECT_DIR$/resources/views/layouts/app.blade.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/routes/web.php" afterPath="$PROJECT_DIR$/routes/web.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/vendor/composer/autoload_classmap.php" afterPath="$PROJECT_DIR$/vendor/composer/autoload_classmap.php" />
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/vendor/composer/autoload_static.php" afterPath="$PROJECT_DIR$/vendor/composer/autoload_static.php" />
</list>
<ignored path="UltraLaravel-Perpus.iws" />
<ignored path=".idea/workspace.xml" />
......@@ -32,91 +41,96 @@
</component>
<component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="web.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/routes/web.php">
<file leaf-file-name="edit.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/authors/edit.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<caret line="7" column="57" selection-start-line="7" selection-start-column="55" selection-end-line="7" selection-end-column="57" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="create.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/authors/create.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="221">
<caret line="13" column="61" selection-start-line="13" selection-start-column="61" selection-end-line="13" selection-end-column="61" />
<state relative-caret-position="147">
<caret line="14" column="43" selection-start-line="14" selection-start-column="43" selection-end-line="14" selection-end-column="43" />
<folding>
<marker date="1495169451075" expanded="true" signature="876:1053" ph="..." />
<marker date="1495169451075" expanded="true" signature="888:1051" ph="..." />
<marker date="1495169451075" expanded="true" signature="889:1050" ph="..." />
<marker date="1495550424844" expanded="true" signature="638:768" ph="..." />
<marker date="1495550424844" expanded="true" signature="651:766" ph="..." />
<marker date="1495550424844" expanded="true" signature="661:765" ph="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="validation.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/lang/en/validation.php">
<file leaf-file-name="edit.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/books/edit.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
<state relative-caret-position="407">
<caret line="29" column="12" selection-start-line="29" selection-start-column="12" selection-end-line="29" selection-end-column="12" />
<folding>
<marker date="1485787305963" expanded="true" signature="677:820" ph="..." />
<marker date="1485787305963" expanded="true" signature="690:818" ph="..." />
<marker date="1485787305963" expanded="true" signature="698:817" ph="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="_form.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/authors/_form.blade.php">
<file leaf-file-name="index.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/books/index.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="238">
<caret line="14" column="0" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
<state relative-caret-position="142">
<caret line="22" column="83" selection-start-line="22" selection-start-column="83" selection-end-line="22" selection-end-column="83" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="member.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/dashboard/member.blade.php">
<file leaf-file-name="create.blade.php" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/resources/views/authors/create.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="17">
<caret line="29" column="84" selection-start-line="29" selection-start-column="84" selection-end-line="29" selection-end-column="84" />
<state relative-caret-position="85">
<caret line="5" column="0" selection-start-line="5" selection-start-column="0" selection-end-line="5" selection-end-column="0" />
<folding>
<marker date="1493716428862" expanded="true" signature="952:1324" ph="..." />
<marker date="1493716428862" expanded="true" signature="964:1322" ph="..." />
<marker date="1493716428862" expanded="true" signature="965:1320" ph="..." />
<marker date="1493716428862" expanded="true" signature="2161:2177" ph="..." />
<marker date="1495550497728" expanded="true" signature="870:1047" ph="..." />
<marker date="1495550497728" expanded="true" signature="882:1045" ph="..." />
<marker date="1495550497728" expanded="true" signature="883:1044" ph="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="BooksController.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/BooksController.php">
<file leaf-file-name="pegawai.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/authors/pegawai.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="152">
<caret line="9" column="40" selection-start-line="9" selection-start-column="40" selection-end-line="9" selection-end-column="40" />
<state relative-caret-position="357">
<caret line="21" column="93" selection-start-line="21" selection-start-column="93" selection-end-line="21" selection-end-column="93" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="pegawaiController.php" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/pegawaiController.php">
<file leaf-file-name="_action.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/datatable/_action.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-830">
<caret line="45" column="36" selection-start-line="45" selection-start-column="36" selection-end-line="45" selection-end-column="36" />
<state relative-caret-position="34">
<caret line="2" column="69" selection-start-line="2" selection-start-column="4" selection-end-line="2" selection-end-column="69" />
<folding>
<element signature="e#40#68#0#PHP" expanded="true" />
<marker date="1495548282152" expanded="true" signature="3:143" ph="..." />
<marker date="1495548282152" expanded="true" signature="16:141" ph="..." />
<marker date="1495548282152" expanded="true" signature="25:139" ph="..." />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="index.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/authors/index.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="215">
<caret line="21" column="80" selection-start-line="21" selection-start-column="80" selection-end-line="21" selection-end-column="80" />
<folding />
</state>
</provider>
</entry>
</file>
<file leaf-file-name="create_pegawai.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/authors/create_pegawai.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="22">
<state relative-caret-position="-53">
<caret line="2" column="12" selection-start-line="2" selection-start-column="12" selection-end-line="2" selection-end-column="12" />
<folding>
<marker date="1494767284848" expanded="true" signature="636:743" ph="..." />
......@@ -127,22 +141,26 @@
</provider>
</entry>
</file>
<file leaf-file-name="pegawai.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/authors/pegawai.blade.php">
<file leaf-file-name="web.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/routes/web.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-45">
<caret line="4" column="33" selection-start-line="4" selection-start-column="33" selection-end-line="4" selection-end-column="33" />
<folding />
<state relative-caret-position="374">
<caret line="33" column="25" selection-start-line="33" selection-start-column="25" selection-end-line="33" selection-end-column="25" />
<folding>
<element signature="e#7#386#0#PHP" expanded="true" />
</folding>
</state>
</provider>
</entry>
</file>
<file leaf-file-name="index.blade.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/resources/views/authors/index.blade.php">
<file leaf-file-name="pegawaiController.php" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/pegawaiController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="19" column="0" selection-start-line="19" selection-start-column="0" selection-end-line="19" selection-end-column="0" />
<folding />
<state relative-caret-position="-287">
<caret line="30" column="29" selection-start-line="30" selection-start-column="29" selection-end-line="30" selection-end-column="29" />
<folding>
<element signature="e#40#68#0#PHP" expanded="true" />
</folding>
</state>
</provider>
</entry>
......@@ -160,9 +178,6 @@
<component name="IdeDocumentHistory">
<option name="CHANGED_PATHS">
<list>
<option value="$PROJECT_DIR$/vendor/laravel/framework/composer.json" />
<option value="$PROJECT_DIR$/database/seeds/BooksSeeder.php" />
<option value="$PROJECT_DIR$/app/BorrowLog.php" />
<option value="$PROJECT_DIR$/.env" />
<option value="$PROJECT_DIR$/config/database.php" />
<option value="$PROJECT_DIR$/resources/views/books/create.blade.php" />
......@@ -170,24 +185,18 @@
<option value="$PROJECT_DIR$/public/css/theme/assets/css/style.css" />
<option value="$PROJECT_DIR$/resources/views/dashboard/admin.blade.php" />
<option value="$PROJECT_DIR$/resources/views/home.blade.php" />
<option value="$PROJECT_DIR$/resources/views/authors/edit.blade.php" />
<option value="$PROJECT_DIR$/resources/views/dashboard/member.blade.php" />
<option value="$PROJECT_DIR$/resources/views/dashboard/deliver.blade.php" />
<option value="$PROJECT_DIR$/resources/views/dashboard/chef.blade.php" />
<option value="$PROJECT_DIR$/app/Http/Controllers/HomeController.php" />
<option value="$PROJECT_DIR$/resources/views/dashboard/manager.blade.php" />
<option value="$PROJECT_DIR$/app/Http/Controllers/Auth/RegisterController.php" />
<option value="$PROJECT_DIR$/app/User.php" />
<option value="$PROJECT_DIR$/app/Http/Controllers/AuthorsController.php" />
<option value="$PROJECT_DIR$/app/Pegawai.php" />
<option value="$PROJECT_DIR$/routes/web.php" />
<option value="$PROJECT_DIR$/app/Author.php" />
<option value="$PROJECT_DIR$/app/Book.php" />
<option value="$PROJECT_DIR$/config/app.php" />
<option value="$PROJECT_DIR$/config/mail.php" />
<option value="$PROJECT_DIR$/database/seeds/UsersSeeder.php" />
<option value="$PROJECT_DIR$/resources/views/authors/create_pegawai.blade.php" />
<option value="$PROJECT_DIR$/resources/views/authors/index.blade.php" />
<option value="$PROJECT_DIR$/resources/views/books/export.blade.php" />
<option value="$PROJECT_DIR$/resources/views/books/index.blade.php" />
<option value="$PROJECT_DIR$/resources/views/guest/index.blade.php" />
......@@ -195,20 +204,31 @@
<option value="$PROJECT_DIR$/resources/views/welcome.blade.php" />
<option value="$PROJECT_DIR$/ultra_perpus.sql" />
<option value="$PROJECT_DIR$/database/migrations/2017_05_08_085711_create_datapegawai_table.php" />
<option value="$PROJECT_DIR$/database/migrations/2017_05_08_085711_create_pegawai_table.php" />
<option value="$PROJECT_DIR$/database/migrations/2016_12_12_120408_create_books_table.php" />
<option value="$PROJECT_DIR$/resources/views/books/_form.blade.php" />
<option value="$PROJECT_DIR$/app/Http/Controllers/GuestController.php" />
<option value="$PROJECT_DIR$/app/Http/Requests/UpdateBookRequest.php" />
<option value="$PROJECT_DIR$/app/Http/Requests/StoreBookRequest.php" />
<option value="$PROJECT_DIR$/resources/views/authors/_form.blade.php" />
<option value="$PROJECT_DIR$/resources/views/layouts/app.blade.php" />
<option value="$PROJECT_DIR$/app/Http/Requests/StorePegawaiRequest.php" />
<option value="$PROJECT_DIR$/storage/framework/views/0bd02ac281e3968b0dc631f922b55a7d3b4a88e8.php" />
<option value="$PROJECT_DIR$/resources/views/authors/create.blade.php" />
<option value="$PROJECT_DIR$/app/Http/Controllers/BooksController.php" />
<option value="$PROJECT_DIR$/app/Http/Controllers/AdminController.php" />
<option value="$PROJECT_DIR$/app/Http/Controllers/PesananController.php" />
<option value="$PROJECT_DIR$/app/Pegawai.php" />
<option value="$PROJECT_DIR$/database/migrations/2017_05_22_071700_create_pesanan_table.php" />
<option value="$PROJECT_DIR$/database/migrations/2017_05_08_085711_create_pegawai_table.php" />
<option value="$PROJECT_DIR$/database/migrations/2017_05_23_014312_create_pegawais_table.php" />
<option value="$PROJECT_DIR$/app/Http/Controllers/pegawaiController.php" />
<option value="$PROJECT_DIR$/database/seeds/UsersSeeder.php" />
<option value="$PROJECT_DIR$/app/Http/Controllers/HomeController.php" />
<option value="$PROJECT_DIR$/resources/views/layouts/app.blade.php" />
<option value="$PROJECT_DIR$/resources/views/datatable/_action.blade.php" />
<option value="$PROJECT_DIR$/routes/web.php" />
<option value="$PROJECT_DIR$/resources/views/authors/index.blade.php" />
<option value="$PROJECT_DIR$/resources/views/authors/pegawai.blade.php" />
<option value="$PROJECT_DIR$/resources/views/authors/edit.blade.php" />
<option value="$PROJECT_DIR$/resources/views/authors/create.blade.php" />
</list>
</option>
</component>
......@@ -221,8 +241,7 @@
<component name="PhpWorkspaceProjectConfiguration" backward_compatibility_performed="true" />
<component name="ProjectFrameBounds">
<option name="x" value="-8" />
<option name="y" value="-8" />
<option name="width" value="1382" />
<option name="width" value="1370" />
<option name="height" value="754" />
</component>
<component name="ProjectLevelVcsManager" settingsEditedManually="false">
......@@ -251,207 +270,25 @@
</navigator>
<panes>
<pane id="Scope" />
<pane id="Scratches" />
<pane id="ProjectPane">
<subPane>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="resources" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="views" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="resources" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="views" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="authors" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="resources" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="bootstrap" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="app" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="app" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Providers" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="app" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Http" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="app" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Http" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Controllers" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
<PATH>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.intellij.ide.projectView.impl.nodes.ProjectViewProjectNode" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="foodbooking" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="app" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Http" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Controllers" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
<PATH_ELEMENT>
<option name="myItemId" value="Auth" />
<option name="myItemType" value="com.jetbrains.php.projectView.PhpTreeStructureProvider$1" />
</PATH_ELEMENT>
</PATH>
</subPane>
<subPane />
</pane>
<pane id="Scratches" />
</panes>
</component>
<component name="PropertiesComponent">
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
<property name="WebServerToolWindowFactoryState" value="false" />
<property name="SearchEverywhereHistoryKey" value="web&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/routes/web.php&#10;validation&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/resources/lang/en/validation.php&#10;validator&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/vendor/laravel/framework/src/Illuminate/Validation/Validator.php&#10;pega&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/app/Http/Controllers/pegawaiController.php&#10;pegawaiC&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/app/Http/Controllers/pegawaiController.php&#10;autho&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/app/Http/Controllers/AuthorsController.php&#10;app&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/resources/views/layouts/app.blade.php&#10;regi&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/app/Http/Controllers/Auth/RegisterController.php&#10;web.&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/routes/web.php&#10;home&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/app/Http/Controllers/HomeController.php&#10;homecontr&#9;null&#9;null&#10;style.css&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/public/css/theme/assets/css/style.css&#10;we&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/routes/web.php" />
<property name="SearchEverywhereHistoryKey" value="user&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/database/seeds/UsersSeeder.php&#10;web&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/routes/web.php&#10;validation&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/resources/lang/en/validation.php&#10;validator&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/vendor/laravel/framework/src/Illuminate/Validation/Validator.php&#10;pega&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/app/Http/Controllers/pegawaiController.php&#10;pegawaiC&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/app/Http/Controllers/pegawaiController.php&#10;autho&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/app/Http/Controllers/AuthorsController.php&#10;app&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/resources/views/layouts/app.blade.php&#10;regi&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/app/Http/Controllers/Auth/RegisterController.php&#10;web.&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/routes/web.php&#10;home&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/app/Http/Controllers/HomeController.php&#10;homecontr&#9;null&#9;null&#10;style.css&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/public/css/theme/assets/css/style.css&#10;we&#9;FILE&#9;file://C:/xampp/htdocs/foodbooking/routes/web.php" />
</component>
<component name="RecentsManager">
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\xampp\htdocs\foodbooking\app\Http\Requests" />
</key>
<key name="CopyFile.RECENT_KEYS">
<recent name="C:\xampp\htdocs\foodbooking\resources\views\authors" />
<recent name="C:\xampp\htdocs\foodbooking\resources\views\dashboard" />
</key>
<key name="MoveFile.RECENT_KEYS">
<recent name="C:\xampp\htdocs\foodbooking\app\Http\Requests" />
</key>
</component>
<component name="RunManager">
<configuration default="true" type="JavascriptDebugType" factoryName="JavaScript Debug">
......@@ -547,22 +384,36 @@
<workItem from="1494837226205" duration="526000" />
<workItem from="1494914435949" duration="11529000" />
<workItem from="1495167666426" duration="2367000" />
<workItem from="1495418470037" duration="3659000" />
<workItem from="1495418470037" duration="7754000" />
<workItem from="1495463082189" duration="21000" />
<workItem from="1495502493134" duration="7804000" />
<workItem from="1495522063388" duration="1363000" />
<workItem from="1495546815189" duration="3776000" />
</task>
<servers />
</component>
<component name="TimeTrackingManager">
<option name="totallyTimeSpent" value="129754000" />
<option name="totallyTimeSpent" value="146813000" />
</component>
<component name="TodoView">
<todo-panel id="selected-file">
<is-autoscroll-to-source value="true" />
</todo-panel>
<todo-panel id="all">
<are-packages-shown value="true" />
<is-autoscroll-to-source value="true" />
</todo-panel>
</component>
<component name="ToolWindowManager">
<frame x="-8" y="-8" width="1382" height="754" extended-state="7" />
<editor active="false" />
<frame x="-8" y="0" width="1370" height="754" extended-state="1" />
<editor active="true" />
<layout>
<window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24886535" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.3129771" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32850242" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.069243155" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32850242" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24962178" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32850242" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
......@@ -575,27 +426,26 @@
<window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Gulp" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="true" content_ui="tabs" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32850242" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
</layout>
<layout-to-restore>
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32850242" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="7" side_tool="true" content_ui="tabs" />
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
<window_info id="Command Line Tools Console" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.012882448" sideWeight="0.5" order="8" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32850242" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" />
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
<window_info id="npm" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="true" content_ui="tabs" />
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32850242" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" />
<window_info id="Gulp" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="4" side_tool="true" content_ui="tabs" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24886535" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.3129771" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32850242" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.069243155" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.24962178" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="3" side_tool="true" content_ui="tabs" />
......@@ -618,194 +468,203 @@
<watches-manager />
</component>
<component name="editorHistoryManager">
<entry file="file://$PROJECT_DIR$/resources/views/auth/register.blade.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/0bd02ac281e3968b0dc631f922b55a7d3b4a88e8.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="289">
<caret line="20" column="101" selection-start-line="20" selection-start-column="101" selection-end-line="20" selection-end-column="101" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/0e74cb628de8a4b6fc07ed7c8308967fa23c7ec3.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/books/edit.blade.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/1c8b7ef38628f93b6680028a3fc98de4ebedd656.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="179">
<caret line="13" column="18" selection-start-line="13" selection-start-column="17" selection-end-line="13" selection-end-column="18" />
<state relative-caret-position="-215">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/Exceptions/BookException.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/fec8ba0137f66e233dee4464ed5cd1f872f09a90.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<state relative-caret-position="-45">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/Console/Kernel.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/f160b01fec2d67b324ceb8a1925408812c2905a3.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-198">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/Http/Requests/UpdateBookRequest.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/f93b760d91bccf18e18b1f3b05d838c6b89d1e93.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="357">
<caret line="21" column="0" selection-start-line="21" selection-start-column="0" selection-end-line="21" selection-end-column="0" />
<folding />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/authors/edit.blade.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/f17d36786481739bb9c1dbc509a3d8b75af01785.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/auth/login.blade.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/f5ceb5a236c5870f525d1954e86fa1496e844e52.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/welcome.blade.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/e1c55365c81dda87e16dd9493d0c26028f2be426.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/home.blade.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/e2f6d748b1872be58c859d00c53e8dc09b410483.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/about.blade.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/6f8638cc13ab49f52771310ddd4c795bd61b8c90.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/vendor/notifications/email-plain.blade.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/7afdc666333d947e0f2cb2ffe438b8478ebda8a9.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/vendor/notifications/email.blade.php">
<entry file="file://$PROJECT_DIR$/storage/framework/views/7b824ba97b5e4cd6fec4b874e4a5bbc0c93cf0be.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/pdf/books.blade.php">
<entry file="file://$PROJECT_DIR$/routes/api.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-796">
<caret line="8" column="3" selection-start-line="8" selection-start-column="0" selection-end-line="8" selection-end-column="3" />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/layouts/_flash.blade.php">
<entry file="file://$PROJECT_DIR$/routes/console.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="340">
<caret line="20" column="0" selection-start-line="20" selection-start-column="0" selection-end-line="20" selection-end-column="0" />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/guest/index.blade.php">
<entry file="file://$PROJECT_DIR$/resources/lang/en/validation.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="440">
<caret line="30" column="8" selection-start-line="30" selection-start-column="7" selection-end-line="30" selection-end-column="8" />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/datatable/_action.blade.php">
<entry file="file://$PROJECT_DIR$/resources/views/authors/_form.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="51">
<caret line="3" column="24" selection-start-line="3" selection-start-column="22" selection-end-line="3" selection-end-column="24" />
<state relative-caret-position="238">
<caret line="14" column="0" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/dashboard/admin.blade.php">
<entry file="file://$PROJECT_DIR$/resources/views/dashboard/customer.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="372">
<caret line="33" column="74" selection-start-line="33" selection-start-column="72" selection-end-line="33" selection-end-column="74" />
<state relative-caret-position="17">
<caret line="29" column="84" selection-start-line="29" selection-start-column="84" selection-end-line="29" selection-end-column="84" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/books/_form.blade.php">
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/Controller.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="323">
<caret line="19" column="44" selection-start-line="19" selection-start-column="39" selection-end-line="19" selection-end-column="44" />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/books/index.blade.php">
<entry file="file://$PROJECT_DIR$/resources/views/dashboard/deliver.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="179">
<caret line="12" column="18" selection-start-line="12" selection-start-column="17" selection-end-line="12" selection-end-column="18" />
<state relative-caret-position="-419">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/books/export.blade.php">
<entry file="file://$PROJECT_DIR$/public/index.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="256">
<caret line="24" column="48" selection-start-line="24" selection-start-column="46" selection-end-line="24" selection-end-column="48" />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/books/create.blade.php">
<entry file="file://$PROJECT_DIR$/app/Http/Requests/UpdatePegawaiRequest.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="374">
<caret line="22" column="23" selection-start-line="0" selection-start-column="0" selection-end-line="32" selection-end-column="0" />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/layouts/app.blade.php">
<entry file="file://$PROJECT_DIR$/app/Http/Requests/UpdatePesananRequest.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="2176">
<caret line="128" column="46" selection-start-line="128" selection-start-column="46" selection-end-line="128" selection-end-column="46" />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/Http/Requests/Request/StorePegawaiRequest.php">
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/PesananController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="170">
<caret line="10" column="6" selection-start-line="10" selection-start-column="6" selection-end-line="10" selection-end-column="6" />
<state relative-caret-position="102">
<caret line="6" column="43" selection-start-line="6" selection-start-column="43" selection-end-line="6" selection-end-column="43" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/Http/Requests/StoreBookRequest.php">
<entry file="file://$PROJECT_DIR$/app/Author.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="527">
<caret line="32" column="10" selection-start-line="32" selection-start-column="10" selection-end-line="32" selection-end-column="10" />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/Http/Requests/StorePegawaiRequest.php">
<entry file="file://$PROJECT_DIR$/app/Book.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="255">
<caret line="15" column="19" selection-start-line="15" selection-start-column="19" selection-end-line="15" selection-end-column="19" />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/0bd02ac281e3968b0dc631f922b55a7d3b4a88e8.php">
<entry file="file://$PROJECT_DIR$/app/Permission.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="289">
<caret line="20" column="101" selection-start-line="20" selection-start-column="101" selection-end-line="20" selection-end-column="101" />
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/0e74cb628de8a4b6fc07ed7c8308967fa23c7ec3.php">
<entry file="file://$PROJECT_DIR$/app/BorrowLog.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
......@@ -813,67 +672,70 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/1c8b7ef38628f93b6680028a3fc98de4ebedd656.php">
<entry file="file://$PROJECT_DIR$/database/migrations/2017_05_22_071700_create_pesanan_table.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-215">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<marker date="1493706939705" expanded="true" signature="715:731" ph="..." />
<marker date="1493706939705" expanded="true" signature="886:899" ph="..." />
</folding>
<state relative-caret-position="225">
<caret line="17" column="32" selection-start-line="17" selection-start-column="32" selection-end-line="17" selection-end-column="32" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/fec8ba0137f66e233dee4464ed5cd1f872f09a90.php">
<entry file="file://$PROJECT_DIR$/app/Pegawai.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-45">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="187">
<caret line="11" column="0" selection-start-line="11" selection-start-column="0" selection-end-line="11" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/f160b01fec2d67b324ceb8a1925408812c2905a3.php">
<entry file="file://$PROJECT_DIR$/database/migrations/2017_05_08_085711_create_pegawai_table.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="414">
<caret line="32" column="32" selection-start-line="32" selection-start-column="8" selection-end-line="32" selection-end-column="32" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/f93b760d91bccf18e18b1f3b05d838c6b89d1e93.php">
<entry file="file://$PROJECT_DIR$/database/migrations/2017_05_23_014312_create_pegawais_table.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="510">
<caret line="32" column="30" selection-start-line="32" selection-start-column="30" selection-end-line="32" selection-end-column="30" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/f17d36786481739bb9c1dbc509a3d8b75af01785.php">
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/HomeController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="669">
<caret line="63" column="39" selection-start-line="63" selection-start-column="39" selection-end-line="63" selection-end-column="39" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/f5ceb5a236c5870f525d1954e86fa1496e844e52.php">
<entry file="file://$PROJECT_DIR$/resources/views/dashboard/admin.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/e1c55365c81dda87e16dd9493d0c26028f2be426.php">
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/BooksController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="1564">
<caret line="104" column="23" selection-start-line="104" selection-start-column="23" selection-end-line="104" selection-end-column="23" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/e2f6d748b1872be58c859d00c53e8dc09b410483.php">
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/AuthorsController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/6f8638cc13ab49f52771310ddd4c795bd61b8c90.php">
<entry file="file://$PROJECT_DIR$/resources/views/authors/pesanan.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
......@@ -881,91 +743,89 @@
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/7afdc666333d947e0f2cb2ffe438b8478ebda8a9.php">
<entry file="file://$PROJECT_DIR$/resources/views/books/create.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<marker date="1493869621662" expanded="true" signature="2464:2480" ph="..." />
<marker date="1493869621662" expanded="true" signature="2635:2648" ph="..." />
</folding>
<state relative-caret-position="544">
<caret line="32" column="0" selection-start-line="32" selection-start-column="0" selection-end-line="32" selection-end-column="0" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/storage/framework/views/7b824ba97b5e4cd6fec4b874e4a5bbc0c93cf0be.php">
<entry file="file://$PROJECT_DIR$/resources/views/dashboard/manager.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<folding>
<marker date="1484641486120" expanded="true" signature="817:830" ph="..." />
</folding>
<state relative-caret-position="221">
<caret line="13" column="20" selection-start-line="13" selection-start-column="20" selection-end-line="13" selection-end-column="20" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/routes/api.php">
<entry file="file://$PROJECT_DIR$/resources/views/layouts/app.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="2295">
<caret line="135" column="77" selection-start-line="135" selection-start-column="77" selection-end-line="135" selection-end-column="77" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/routes/console.php">
<entry file="file://$PROJECT_DIR$/database/seeds/UsersSeeder.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="-878">
<caret line="8" column="21" selection-start-line="8" selection-start-column="21" selection-end-line="8" selection-end-column="21" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/lang/en/validation.php">
<entry file="file://$PROJECT_DIR$/resources/views/books/index.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="142">
<caret line="22" column="83" selection-start-line="22" selection-start-column="83" selection-end-line="22" selection-end-column="83" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/routes/web.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="119">
<caret line="7" column="57" selection-start-line="7" selection-start-column="55" selection-end-line="7" selection-end-column="57" />
<folding />
<state relative-caret-position="374">
<caret line="33" column="25" selection-start-line="33" selection-start-column="25" selection-end-line="33" selection-end-column="25" />
<folding>
<element signature="e#7#386#0#PHP" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/authors/_form.blade.php">
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/pegawaiController.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="238">
<caret line="14" column="0" selection-start-line="14" selection-start-column="0" selection-end-line="14" selection-end-column="0" />
<folding />
<state relative-caret-position="-287">
<caret line="30" column="29" selection-start-line="30" selection-start-column="29" selection-end-line="30" selection-end-column="29" />
<folding>
<element signature="e#40#68#0#PHP" expanded="true" />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/dashboard/member.blade.php">
<entry file="file://$PROJECT_DIR$/resources/views/datatable/_action.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="17">
<caret line="29" column="84" selection-start-line="29" selection-start-column="84" selection-end-line="29" selection-end-column="84" />
<state relative-caret-position="34">
<caret line="2" column="69" selection-start-line="2" selection-start-column="4" selection-end-line="2" selection-end-column="69" />
<folding>
<marker date="1493716428862" expanded="true" signature="952:1324" ph="..." />
<marker date="1493716428862" expanded="true" signature="964:1322" ph="..." />
<marker date="1493716428862" expanded="true" signature="965:1320" ph="..." />
<marker date="1493716428862" expanded="true" signature="2161:2177" ph="..." />
<marker date="1495548282152" expanded="true" signature="3:143" ph="..." />
<marker date="1495548282152" expanded="true" signature="16:141" ph="..." />
<marker date="1495548282152" expanded="true" signature="25:139" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/Controller.php">
<entry file="file://$PROJECT_DIR$/resources/views/authors/index.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="0">
<caret line="0" column="0" selection-start-line="0" selection-start-column="0" selection-end-line="0" selection-end-column="0" />
<state relative-caret-position="215">
<caret line="21" column="80" selection-start-line="21" selection-start-column="80" selection-end-line="21" selection-end-column="80" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/authors/create_pegawai.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="22">
<state relative-caret-position="-53">
<caret line="2" column="12" selection-start-line="2" selection-start-column="12" selection-end-line="2" selection-end-column="12" />
<folding>
<marker date="1494767284848" expanded="true" signature="636:743" ph="..." />
......@@ -977,46 +837,44 @@
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/authors/pegawai.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-45">
<caret line="4" column="33" selection-start-line="4" selection-start-column="33" selection-end-line="4" selection-end-column="33" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/authors/index.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="210">
<caret line="19" column="0" selection-start-line="19" selection-start-column="0" selection-end-line="19" selection-end-column="0" />
<state relative-caret-position="357">
<caret line="21" column="93" selection-start-line="21" selection-start-column="93" selection-end-line="21" selection-end-column="93" />
<folding />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/resources/views/authors/create.blade.php">
<entry file="file://$PROJECT_DIR$/resources/views/books/edit.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="221">
<caret line="13" column="61" selection-start-line="13" selection-start-column="61" selection-end-line="13" selection-end-column="61" />
<state relative-caret-position="407">
<caret line="29" column="12" selection-start-line="29" selection-start-column="12" selection-end-line="29" selection-end-column="12" />
<folding>
<marker date="1495169451075" expanded="true" signature="876:1053" ph="..." />
<marker date="1495169451075" expanded="true" signature="888:1051" ph="..." />
<marker date="1495169451075" expanded="true" signature="889:1050" ph="..." />
<marker date="1485787305963" expanded="true" signature="677:820" ph="..." />
<marker date="1485787305963" expanded="true" signature="690:818" ph="..." />
<marker date="1485787305963" expanded="true" signature="698:817" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/BooksController.php">
<entry file="file://$PROJECT_DIR$/resources/views/authors/edit.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="152">
<caret line="9" column="40" selection-start-line="9" selection-start-column="40" selection-end-line="9" selection-end-column="40" />
<folding />
<state relative-caret-position="147">
<caret line="14" column="43" selection-start-line="14" selection-start-column="43" selection-end-line="14" selection-end-column="43" />
<folding>
<marker date="1495550424844" expanded="true" signature="638:768" ph="..." />
<marker date="1495550424844" expanded="true" signature="651:766" ph="..." />
<marker date="1495550424844" expanded="true" signature="661:765" ph="..." />
</folding>
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/app/Http/Controllers/pegawaiController.php">
<entry file="file://$PROJECT_DIR$/resources/views/authors/create.blade.php">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="-830">
<caret line="45" column="36" selection-start-line="45" selection-start-column="36" selection-end-line="45" selection-end-column="36" />
<state relative-caret-position="85">
<caret line="5" column="0" selection-start-line="5" selection-start-column="0" selection-end-line="5" selection-end-column="0" />
<folding>
<element signature="e#40#68#0#PHP" expanded="true" />
<marker date="1495550497728" expanded="true" signature="870:1047" ph="..." />
<marker date="1495550497728" expanded="true" signature="882:1045" ph="..." />
<marker date="1495550497728" expanded="true" signature="883:1044" ph="..." />
</folding>
</state>
</provider>
......
......@@ -27,7 +27,7 @@ class HomeController extends Controller
public function index()
{
if (Laratrust::hasRole('admin')) return $this->adminDashboard();
if (Laratrust::hasRole('member')) return $this->memberDashboard();
if (Laratrust::hasRole('customer')) return $this->customerDashboard();
if (Laratrust::hasRole('deliver')) return $this->deliverDashboard();
if (Laratrust::hasRole('chef')) return $this->chefDashboard();
if (Laratrust::hasRole('manager')) return $this->managerDashboard();
......@@ -58,9 +58,9 @@ protected function adminDashboard()
{
return view('dashboard.admin');
}
protected function memberDashboard()
protected function customerDashboard()
{
$borrowLogs = Auth::user()->borrowLogs()->borrowed()->get();
return view('dashboard.member', compact('borrowLogs'));
return view('dashboard.customer', compact('borrowLogs'));
}
}
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Pesanan as pesanan;
use App\Http\Requests\StorePesananRequest;
use App\Http\Requests\UpdatePesananRequest;
use Yajra\Datatables\Html\Builder;
use Yajra\Datatables\Datatables;
class PesananController extends Controller
{
/**
* Display a listing of the resource.
*
* @return \Illuminate\Http\Response
*/
public function index(Request $request, Builder $htmlBuilder)
{
if ($request->ajax()) {
$books = Book::with('author');
return Datatables::of($books)
->addColumn('stock', function($book){
return $book->stock;
})
->addColumn('action', function($book){
return view('datatable._action', [
'model' => $book,
'form_url' => route('books.destroy', $book->id),
'edit_url' => route('books.edit', $book->id),
'confirm_message' => 'Yakin ingin menghapus ' . $book->title . '?',
]);
})->make(true);
}
$html = $htmlBuilder
->addColumn(['data' => 'title', 'name'=>'title', 'title'=>'Jenis Makanan'])
->addColumn(['data' => 'stock', 'name'=>'amount', 'title'=>'Stock'])
->addColumn(['data' => 'harga', 'name'=>'harga', 'title'=>'harga'])
->addColumn(['data' => 'author.name', 'name'=>'author.name', 'title'=>'Pemesan'])
->addColumn(['data' => 'action', 'name'=>'action', 'title'=>'Action', 'orderable'=>false, 'searchable'=>false]);
return view('books.index')->with(compact('html'));
}
/**
* Show the form for creating a new resource.
*
* @return \Illuminate\Http\Response
*/
public function create()
{
return view('books.create');
}
/**
* Store a newly created resource in storage.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\Http\Response
*/
public function borrow($id)
{
try {
$book = Book::findOrFail($id);
Auth::user()->borrow($book);
Session::flash("flash_notification", [
"level"=>"success",
"message"=>"Berhasil memesan $book->title"
]);
} catch (BookException $e) {
Session::flash("flash_notification", [
"level" => "danger",
"message" => $e->getMessage()
]);
} catch (ModelNotFoundException $e) {
Session::flash("flash_notification", [
"level" => "danger",
"message" => "Makanan tidak ditemukan."
]);
}
return redirect('/');
}
public function store(StoreBookRequest $request)
{
$book = Book::create($request->except('cover'));
// isi field cover jika ada cover yang diupload
if ($request->hasFile('cover')) {
// Mengambil file yang diupload
$uploaded_cover = $request->file('cover');
// mengambil extension file
$extension = $uploaded_cover->getClientOriginalExtension();
// membuat nama file random berikut extension
$filename = md5(time()) . '.' . $extension;
// menyimpan cover ke folder public/img
$destinationPath = public_path() . DIRECTORY_SEPARATOR . 'img';
$uploaded_cover->move($destinationPath, $filename);
// mengisi field cover di book dengan filename yang baru dibuat
$book->cover = $filename;
$book->save();
}
Session::flash("flash_notification", [
"level"=>"success",
"message"=>"Berhasil menyimpan $book->title"
]);
return redirect()->route('books.index');
}
/**
* Display the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function show($id)
{
//
}
/**
* Show the form for editing the specified resource.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function edit($id)
{
$book = Book::find($id);
return view('books.edit')->with(compact('book'));
}
/**
* Update the specified resource in storage.
*
* @param \Illuminate\Http\Request $request
* @param int $id
* @return \Illuminate\Http\Response
*/
public function update(UpdateBookRequest $request, $id)
{
$book = Book::find($id);
if(!$book->update($request->all())) return redirect()->back();
if ($request->hasFile('cover')) {
// menambil cover yang diupload berikut ekstensinya
$filename = null;
$uploaded_cover = $request->file('cover');
$extension = $uploaded_cover->getClientOriginalExtension();
// membuat nama file random dengan extension
$filename = md5(time()) . '.' . $extension;
$destinationPath = public_path() . DIRECTORY_SEPARATOR . 'img';
// memindahkan file ke folder public/img
$uploaded_cover->move($destinationPath, $filename);
// hapus cover lama, jika ada
if ($book->cover) {
$old_cover = $book->cover;
$filepath = public_path() . DIRECTORY_SEPARATOR . 'img'
. DIRECTORY_SEPARATOR . $book->cover;
try {
File::delete($filepath);
} catch (FileNotFoundException $e) {
// File sudah dihapus/tidak ada
}
}
// ganti field cover dengan cover yang baru
$book->cover = $filename;
$book->save();
}
Session::flash("flash_notification", [
"level"=>"success",
"message"=>"Berhasil menyimpan $book->title"
]);
return redirect()->route('books.index');
}
/**
* Remove the specified resource from storage.
*
* @param int $id
* @return \Illuminate\Http\Response
*/
public function destroy(Request $request, $id)
{
$book = Book::find($id);
$cover = $book->cover;
if(!$book->delete()) return redirect()->back();
// handle hapus buku via ajax
if ($request->ajax()) return response()->json(['id' => $id]);
// hapus cover lama, jika ada
if ($cover) {
$old_cover = $book->cover;
$filepath = public_path() . DIRECTORY_SEPARATOR . 'img'
. DIRECTORY_SEPARATOR . $book->cover;
try {
File::delete($filepath);
} catch (FileNotFoundException $e) {
// File sudah dihapus/tidak ada
}
}
Session::flash("flash_notification", [
"level"=>"success",
"message"=>"daftar berhasil dihapus"
]);
return redirect()->route('books.index');
}
public function returnBack($book_id)
{
$borrowLog = BorrowLog::where('user_id', Auth::user()->id)
->where('book_id', $book_id)
->where('is_returned', 0)
->first();
if ($borrowLog) {
$borrowLog->is_returned = true;
$borrowLog->save();
Session::flash("flash_notification", [
"level" => "success",
"message" => "Berhasil mengembalikan " . $borrowLog->book->title
]);
}
return redirect('/home');
}
public function export()
{
return view('books.export');
}
public function exportPost(Request $request)
{
// validasi
$this->validate($request, [
'author_id'=>'required',
'type'=>'required|in:pdf,xls'
], [
'author_id.required'=>'Anda belum registrasi. silahkan registrasi terlebih dahulu.'
]);
$books = Book::whereIn('id', $request->get('author_id'))->get();
$handler = 'export' . ucfirst($request->get('type'));
return $this->$handler($books);
}
private function exportPdf($books)
{
$pdf = PDF::loadview('pdf.books', compact('books'));
return $pdf->download('books.pdf');
}
}
......@@ -19,7 +19,7 @@ class pegawaiController extends Controller
public function index(Request $request, Builder $htmlBuilder)
{
if ($request->ajax()) {
$pegawais = pegawai::with('author');
$pegawais = Pegawai::select(['id','name','alamat','umur','golongan']);
return Datatables::of($pegawais)
->addColumn('stock', function($pegawai){
return $pegawai->stock;
......@@ -27,8 +27,8 @@ class pegawaiController extends Controller
->addColumn('action', function($pegawai){
return view('datatable._action', [
'model' => $pegawai,
'form_url' => route('pegawais.destroy', $pegawai->id),
'edit_url' => route('pegawais.edit', $pegawai->id),
'form_url' => route('pegawai.destroy', $pegawai->id),
'edit_url' => route('pegawai.edit', $pegawai->id),
'confirm_message' => 'Yakin ingin menghapus ' . $pegawai->name . '?',
]);
......
<?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
class UpdatePesananRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return false;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
//
];
}
}
......@@ -6,6 +6,6 @@ use Illuminate\Database\Eloquent\Model;
class Pegawai extends Model
{
protected $table = "pegawai";
protected $fillable = ['name','alamat','umur' ,'golongan'];
//
}
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePesananTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pesanan', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('alamat');
$table->string('umur');
$table->string('golongan');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
}
<?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class CreatePegawaisTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
Schema::create('pegawais', function (Blueprint $table) {
$table->increments('id');
$table->string('name');
$table->string('alamat');
$table->string('umur');
$table->string('golongan');
$table->timestamps();
});
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Schema::drop('pegawais');
}
}
......@@ -7,28 +7,81 @@ class UsersSeeder extends Seeder
public function run()
{
// Membuat role admin
$adminRole = new Role();
$adminRole->name = "admin";
$adminRole->display_name = "Admin";
$adminRole->save();
// Membuat role member
$memberRole = new Role();
$memberRole->name = "member";
$memberRole->display_name = "Member";
$memberRole->save();
// Membuat sample admin
$admin = new User();
$admin->name = 'Admin Pizza Andaliman';
$admin->email = 'admin@gmail.com';
$admin->password = bcrypt('admin');
$admin->save();
$admin->attachRole($adminRole);
// Membuat sample member
$member = new User();
$member->name = "Sample Member";
$member->email = 'nicolas@gmail.com';
$member->password = bcrypt('nikolas');
$member->save();
$member->attachRole($memberRole);
$adminRole = new Role();
$adminRole->name = "admin";
$adminRole->display_name = "Admin";
$adminRole->save();
// Membuat role customer
$customerRole = new Role();
$customerRole->name = "customer";
$customerRole->display_name = "Customer";
$customerRole->save();
// Membuat role chef
$chefRole = new Role();
$chefRole->name = "chef";
$chefRole->display_name = "Chef";
$chefRole->save();
// Membuat role deliver
$deliverRole = new Role();
$deliverRole->name = "deliver";
$deliverRole->display_name = "Deliver";
$deliverRole->save();
// Membuat role manager
$managerRole = new Role();
$managerRole->name = "manager";
$managerRole->display_name = "Manager";
$managerRole->save();
// Membuat sample admin
$admin = new User();
$admin->name = 'Admin';
$admin->email = 'admin@gmail.com';
$admin->password = bcrypt('admin');
$admin->save();
$admin->attachRole($adminRole);
// Membuat sample customer
$customer = new User();
$customer->name = "";
$customer->email = 'nicolas@gmail.com';
$customer->password = bcrypt('nikolas');
$customer->save();
$customer->attachRole($customerRole);
// Membuat sample chef
$chef = new User();
$chef->name = 'Chef';
$chef->email = 'chef@gmail.com';
$chef->password = bcrypt('chef');
$chef->save();
$chef->attachRole($chefRole);
// Membuat sample deliver
$deliver = new User();
$deliver->name = 'Deliver';
$deliver->email = 'deliver@gmail.com';
$deliver->password = bcrypt('deliver');
$deliver->save();
$deliver->attachRole($deliverRole);
// Membuat sample manager
$manager = new User();
$manager->name = 'Manager';
$manager->email = 'foodbooking@gmail.com';
$manager->password = bcrypt('pizza');
$manager->save();
$manager->attachRole($managerRole);
}
}
......@@ -10,12 +10,12 @@
<div class="col-md-10">
<ul class="breadcrumb">
<li><a href="{{ url('/home') }}">Dashboard</a></li>
<li><a href="{{ url('/admin/books') }}">Pelanggan</a></li>
<li class="active">Data Pelanggan</li>
<li><a href="{{ url('/admin/books') }}">Pegawai</a></li>
<li class="active">Data Pegawai</li>
</ul>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">Data Pelanggan</h2>
<h2 class="panel-title">Data Pegawai</h2>
</div>
<div class="panel-body">
{!! Form::open(['url' => route('pegawai.store'),
......
......@@ -12,11 +12,11 @@
<ul class="breadcrumb">
<li><a href="{{ url('/home') }}">Dashboard</a></li>
<li><a href="{{ url('/admin/authors') }}">Pelanggan</a></li>
<li class="active">Ubah Pesanan</li>
<li class="active">Ubah Pelanggan</li>
</ul>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">Ubah Pesanan</h2>
<h2 class="panel-title">Ubah Pelanggan</h2>
</div>
<div class="panel-body">
......
......@@ -19,7 +19,7 @@
</div>
<div class="panel-body">
<p> <a class="btn btn-primary" href="{{ route('authors.create') }}">Tambah</a> </p>
<p> <a class="btn btn-primary" href="{{ url('/admin/authors/1/edit') }}">Tambah</a> </p>
{!! $html->table(['class'=>'table-striped']) !!}
</div>
</div>
......
@extends('layouts.app')
@section('content')
<section id="main-content">
<section class="wrapper">
<div class="container">
<div class="row">
<br>
<div class="col-md-10">
<ul class="breadcrumb">
<li><a href="{{ url('/home') }}">PizzaAndaliman</a></li>
<li class="active">PizzaAndaliman</li>
</ul>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">PizzaAndaliman</h2>
</div>
<div class="panel-body">
<p> <a class="btn btn-primary" href="{{ route('authors.create') }}">Tambah</a> </p>
{!! $html->table(['class'=>'table-striped']) !!}
</div>
</div>
</div>
</div>
</div>
@endsection
@section('scripts')
{!! $html->scripts() !!}
@endsection
@extends('layouts.app')
@section('content')
<section id="main-content">
<section class="wrapper">
<section id="main-content">
<section class="wrapper">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">Dashboard</h2>
</div>
<div class="panel-body">
Selamat datang di menu Sistem Informasi Pemesanan Makanan PizzaAndaliman. Silahkan pilih menu yang diinginkan.
</div>
</div>
</section>
</section>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">Dashboard</h2>
</div>
<div class="panel-body">
Selamat datang di menu Sistem Informasi Pemesanan Makanan PizzaAndaliman. Silahkan pilih menu yang diinginkan.
</div>
</div>
</section>
</section>
@endsection
@section('scripts')
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function () {
var unique_id = $.gritter.add({
// (string | mandatory) the heading of the notification
title: "<span style='font-size: 12px;'>Welcome to PizzaAndaliman!",
// (string | mandatory) the text inside the notification
text: ' <a href="#" target="_blank" style="color:#ffd777">PizzaAndaliman@gmail.com / 081264721252</a>',
// (string | optional) the image to display on the left
image: 'css/theme/assets/img/pizza2.PNG',
// (bool | optional) if you want it to fade out on its own or just sit there
sticky: true,
// (int | optional) the time you want it to be alive for before fading out
time: '',
// (string | optional) the class name you want to apply to that specific message
class_name: 'my-sticky-class'
});
var unique_id = $.gritter.add({
// (string | mandatory) the heading of the notification
title: "<span style='font-size: 12px;'>Welcome to PizzaAndaliman!",
// (string | mandatory) the text inside the notification
text: ' <a href="#" target="_blank" style="color:#ffd777">PizzaAndaliman@gmail.com / 081264721252</a>',
// (string | optional) the image to display on the left
image: 'css/theme/assets/img/pizza2.PNG',
// (bool | optional) if you want it to fade out on its own or just sit there
sticky: true,
// (int | optional) the time you want it to be alive for before fading out
time: '',
// (string | optional) the class name you want to apply to that specific message
class_name: 'my-sticky-class'
});
return false;
return false;
});
</script>
@endsection
\ No newline at end of file
@extends('layouts.app')
@section('content')
<section id="main-content">
<section class="wrapper">
<section id="main-content">
<section class="wrapper">
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">Dashboard</h2>
</div>
<div class="panel-body">
Selamat datang di menu Sistem Informasi Pemesanan Makanan PizzaAndaliman. Silahkan pilih menu yang diinginkan.
</div>
</div>
</section>
</section>
<div class="panel panel-default">
<div class="panel-heading">
<h2 class="panel-title">Dashboard</h2>
</div>
<div class="panel-body">
Selamat datang di menu Sistem Informasi Pemesanan Makanan PizzaAndaliman. Silahkan pilih menu yang diinginkan.
</div>
</div>
</section>
</section>
@endsection
@section('scripts')
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function () {
var unique_id = $.gritter.add({
// (string | mandatory) the heading of the notification
title: "<span style='font-size: 12px;'>Welcome to PizzaAndaliman!",
// (string | mandatory) the text inside the notification
text: ' <a href="#" target="_blank" style="color:#ffd777">PizzaAndaliman@gmail.com / 081264721252</a>',
// (string | optional) the image to display on the left
image: 'css/theme/assets/img/pizza2.PNG',
// (bool | optional) if you want it to fade out on its own or just sit there
sticky: true,
// (int | optional) the time you want it to be alive for before fading out
time: '',
// (string | optional) the class name you want to apply to that specific message
class_name: 'my-sticky-class'
});
var unique_id = $.gritter.add({
// (string | mandatory) the heading of the notification
title: "<span style='font-size: 12px;'>Welcome to PizzaAndaliman!",
// (string | mandatory) the text inside the notification
text: ' <a href="#" target="_blank" style="color:#ffd777">PizzaAndaliman@gmail.com / 081264721252</a>',
// (string | optional) the image to display on the left
image: 'css/theme/assets/img/pizza2.PNG',
// (bool | optional) if you want it to fade out on its own or just sit there
sticky: true,
// (int | optional) the time you want it to be alive for before fading out
time: '',
// (string | optional) the class name you want to apply to that specific message
class_name: 'my-sticky-class'
});
return false;
return false;
});
</script>
@endsection
\ No newline at end of file
......@@ -86,7 +86,8 @@
</a>
</li>
@endif
@role('admin')
@role('manager')
<li class="sub-menu">
<a href="javascript:;" >
......@@ -121,17 +122,18 @@
</ul>
</li>
@endrole
@role('manager')
@role('admin')
<li class="sub-menu">
<a href="javascript:;" >
<i class="fa fa-desktop"></i>
<span>Data Pelanggan</span>
<span>Data pesanan</span>
</a>
<ul class="sub">
<li><a href="{{ route('authors.index') }}">Pelanggan</a></li>
<li><a href="{{ route('authors.index') }}">Pesanan</a></li>
</ul>
</li>
......
......@@ -15,7 +15,7 @@ Auth::routes();
Route::get('/', 'HomeController@index');
Route::get('/Listbook', 'GuestController@index');
Route::get('/home', 'HomeController@index');
Route::group(['prefix'=>'admin', 'middleware'=>['auth', 'role:admin']], function () {
Route::group(['prefix'=>'admin', 'middleware'=>['auth']], function () {
Route::resource('authors', 'AuthorsController');
Route::resource('pegawai', 'PegawaiController');
......@@ -31,13 +31,13 @@ Route::group(['prefix'=>'admin', 'middleware'=>['auth', 'role:admin']], function
});
Route::get('books/{book}/borrow', [
'middleware' => ['auth', 'role:member'],
'middleware' => ['auth'],
'as' => 'guest.books.borrow',
'uses' => 'BooksController@borrow'
]);
Route::put('books/{book}/return', [
'middleware' => ['auth', 'role:member'],
'middleware' => ['auth'],
'as' => 'member.books.return',
'uses' => 'BooksController@returnBack'
]);
......
......@@ -11,10 +11,12 @@ return array(
'CreateAuthorsTable' => $baseDir . '/database/migrations/2016_12_12_114448_create_authors_table.php',
'CreateBooksTable' => $baseDir . '/database/migrations/2016_12_12_120408_create_books_table.php',
'CreateBorrowLogsTable' => $baseDir . '/database/migrations/2016_12_30_094623_create_borrow_logs_table.php',
'CreateDatapegawaiTable' => $baseDir . '/database/migrations/2017_05_08_085711_create_pegawai_table.php',
'CreatePasswordResetsTable' => $baseDir . '/database/migrations/2014_10_12_100000_create_password_resets_table.php',
'CreatePegawaisTable' => $baseDir . '/database/migrations/2017_05_23_014312_create_pegawais_table.php',
'CreatePesananTable' => $baseDir . '/database/migrations/2017_05_22_071700_create_pesanan_table.php',
'CreatePostsTable' => $baseDir . '/database/migrations/2016_12_11_110857_create_posts_table.php',
'CreateUsersTable' => $baseDir . '/database/migrations/2014_10_12_000000_create_users_table.php',
'CreatepegawaiTable' => $baseDir . '/database/migrations/2017_05_08_085711_create_pegawai_table.php',
'DatabaseSeeder' => $baseDir . '/database/seeds/DatabaseSeeder.php',
'File_Iterator' => $vendorDir . '/phpunit/php-file-iterator/src/Iterator.php',
'File_Iterator_Facade' => $vendorDir . '/phpunit/php-file-iterator/src/Facade.php',
......
......@@ -355,10 +355,12 @@ class ComposerStaticInit6daa598fae9ed14b9ff672201755e79c
'CreateAuthorsTable' => __DIR__ . '/../..' . '/database/migrations/2016_12_12_114448_create_authors_table.php',
'CreateBooksTable' => __DIR__ . '/../..' . '/database/migrations/2016_12_12_120408_create_books_table.php',
'CreateBorrowLogsTable' => __DIR__ . '/../..' . '/database/migrations/2016_12_30_094623_create_borrow_logs_table.php',
'CreateDatapegawaiTable' => __DIR__ . '/../..',
'CreatePasswordResetsTable' => __DIR__ . '/../..' . '/database/migrations/2014_10_12_100000_create_password_resets_table.php',
'CreatePegawaisTable' => __DIR__ . '/../..' . '/database/migrations/2017_05_23_014312_create_pegawais_table.php',
'CreatePesananTable' => __DIR__ . '/../..' . '/database/migrations/2017_05_22_071700_create_pesanan_table.php',
'CreatePostsTable' => __DIR__ . '/../..' . '/database/migrations/2016_12_11_110857_create_posts_table.php',
'CreateUsersTable' => __DIR__ . '/../..' . '/database/migrations/2014_10_12_000000_create_users_table.php',
'CreatepegawaiTable' => __DIR__ . '/../..' . '/database/migrations/2017_05_08_085711_create_pegawai_table.php',
'DatabaseSeeder' => __DIR__ . '/../..' . '/database/seeds/DatabaseSeeder.php',
'File_Iterator' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Iterator.php',
'File_Iterator_Facade' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Facade.php',
......
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