Your Point
28 |Get points every time you buy our products to get free products 29 |
30 | 36 |├── public ├── favicon.ico ├── robots.txt ├── js │ ├── landing.js │ ├── profile.js │ ├── edit_order_proof.js │ ├── transaction.js │ ├── datatables-simple.js │ ├── transaction_table.js │ ├── customers_table.js │ ├── image_preview.js │ ├── point.js │ ├── scripts.js │ ├── review.js │ └── product.js ├── .htaccess ├── css │ ├── point.css │ ├── profile.css │ └── landing.css └── index.php ├── resources ├── css │ └── app.css ├── js │ ├── app.js │ └── bootstrap.js └── views │ ├── partials │ ├── main_css.blade.php │ ├── footer.blade.php │ ├── breadcumb.blade.php │ ├── order │ │ ├── blank_data.blade.php │ │ ├── filter.blade.php │ │ ├── reject_order_modal.blade.php │ │ ├── transaction_proof_upload_modal.blade.php │ │ └── order_lists.blade.php │ ├── topbar.blade.php │ ├── product │ │ └── product_detail_modal.blade.php │ ├── sidebar.blade.php │ ├── review │ │ └── edit_review_modal.blade.php │ └── home │ │ └── home_admin.blade.php │ ├── home │ ├── index.blade.php │ └── customers.blade.php │ ├── landing │ └── index.blade.php │ ├── order │ └── order_data.blade.php │ ├── layouts │ ├── auth.blade.php │ └── main.blade.php │ ├── point │ └── user_point.blade.php │ ├── transaction │ ├── index.blade.php │ └── add_outcome.blade.php │ ├── auth │ └── login.blade.php │ ├── profile │ ├── change_password.blade.php │ └── my_profile.blade.php │ └── product │ └── index.blade.php ├── database ├── .gitignore ├── seeders │ ├── RoleSeeder.php │ ├── PaymentSeeder.php │ ├── CategorySeeder.php │ ├── DatabaseSeeder.php │ ├── StatusSeeder.php │ ├── BankSeeder.php │ ├── NoteSeeder.php │ └── UserSeeder.php ├── migrations │ ├── 2022_08_01_022935_create_roles_table.php │ ├── 2022_08_05_142213_create_notes_table.php │ ├── 2022_08_05_142158_create_payments_table.php │ ├── 2022_08_12_090054_create_categories_table.php │ ├── 2022_08_05_142234_create_statuses_table.php │ ├── 2022_08_05_142133_create_banks_table.php │ ├── 2022_08_09_132544_create_transactions_table.php │ ├── 2022_08_11_132444_create_reviews_table.php │ ├── 2022_08_02_142955_create_products_table.php │ ├── 2022_07_31_034300_create_users_table.php │ └── 2022_08_05_141036_create_orders_table.php └── factories │ └── UserFactory.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ ├── .gitignore │ │ ├── home │ │ │ ├── coffee.jpg │ │ │ ├── hero-bg.png │ │ │ └── laracoffee.jpg │ │ ├── icons │ │ │ ├── online-banking.png │ │ │ ├── cash-on-delivery.png │ │ │ ├── close-icon.svg │ │ │ ├── angle-down.svg │ │ │ ├── bank-mandiri.svg │ │ │ └── bank-bri.svg │ │ ├── lotties │ │ │ └── loading-animation.gif │ │ ├── landing │ │ │ └── landing-background.jpg │ │ ├── product │ │ │ ├── Gy6UVqa000obrsMGJaRAzZ4hWEz5WGhu38QawLzC.jpg │ │ │ ├── gaamRDJEO5xNbQMfgSXx91ZNIVYxid2S110yVkKg.jpg │ │ │ ├── r8e0iS6hEBocNNBRkmTy5uL7BUf9IjNSQmZrgKJy.jpg │ │ │ └── sPISped9AR4XyNKlkSpiUyo7OkcJj8mSBmPuF6Ky.png │ │ └── profile │ │ │ └── cV8nuMT7VBfYYtANwUxegJ366XDbw0nXdxLEvehk.jpg │ └── .gitignore ├── debugbar │ └── .gitignore ├── framework │ ├── testing │ │ └── .gitignore │ ├── views │ │ └── .gitignore │ ├── cache │ │ ├── data │ │ │ └── .gitignore │ │ └── .gitignore │ ├── sessions │ │ └── .gitignore │ └── .gitignore └── assets │ ├── User │ ├── home.PNG │ ├── product.PNG │ ├── profile.PNG │ ├── edit_order.PNG │ ├── order_list.PNG │ ├── user_point.PNG │ ├── authentication.PNG │ ├── edit_profile.PNG │ ├── make_an_order.PNG │ ├── order_detail.PNG │ ├── product_detail.PNG │ ├── registration.PNG │ ├── submit_review.PNG │ └── upload_bukti.PNG │ └── Admin │ ├── product.PNG │ ├── dashboard.PNG │ ├── add_product.PNG │ ├── detail_order.PNG │ ├── edit_product.PNG │ ├── history_order.PNG │ ├── transactions.PNG │ └── customer_lists.PNG ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── .gitattributes ├── .gitignore ├── app ├── Models │ ├── Category.php │ ├── Bank.php │ ├── Note.php │ ├── Payment.php │ ├── Status.php │ ├── Transaction.php │ ├── Role.php │ ├── Product.php │ ├── Review.php │ ├── Order.php │ └── User.php ├── Http │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── TrustHosts.php │ │ ├── TrimStrings.php │ │ ├── AlreadyLogin.php │ │ ├── Authenticate.php │ │ ├── TrustProxies.php │ │ └── RedirectIfAuthenticated.php │ ├── Controllers │ │ ├── Controller.php │ │ ├── HomeController.php │ │ ├── PointController.php │ │ ├── TransactionController.php │ │ ├── AuthController.php │ │ ├── RajaOngkirController.php │ │ ├── ReviewController.php │ │ ├── ProfileController.php │ │ └── ProductController.php │ └── Kernel.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── EventServiceProvider.php │ ├── AuthServiceProvider.php │ └── RouteServiceProvider.php ├── Policies │ ├── ProductPolicy.php │ ├── PointPolicy.php │ ├── ReviewPolicy.php │ └── OrderPolicy.php ├── helpers.php ├── Console │ └── Kernel.php └── Exceptions │ └── Handler.php ├── .editorconfig ├── package.json ├── vite.config.js ├── lang └── en │ ├── pagination.php │ ├── auth.php │ └── passwords.php ├── routes ├── channels.php ├── api.php └── console.php ├── config ├── cors.php ├── services.php ├── view.php ├── hashing.php ├── broadcasting.php ├── sanctum.php ├── filesystems.php ├── queue.php ├── cache.php ├── mail.php └── auth.php ├── LICENSE ├── phpunit.xml ├── .env.example ├── artisan └── composer.json /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/css/app.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | import './bootstrap'; 2 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/debugbar/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | 4 | -- hehe buoi -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/assets/User/home.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/home.PNG -------------------------------------------------------------------------------- /storage/assets/Admin/product.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/Admin/product.PNG -------------------------------------------------------------------------------- /storage/assets/User/product.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/product.PNG -------------------------------------------------------------------------------- /storage/assets/User/profile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/profile.PNG -------------------------------------------------------------------------------- /storage/app/public/home/coffee.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/home/coffee.jpg -------------------------------------------------------------------------------- /storage/app/public/home/hero-bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/home/hero-bg.png -------------------------------------------------------------------------------- /storage/assets/Admin/dashboard.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/Admin/dashboard.PNG -------------------------------------------------------------------------------- /storage/assets/User/edit_order.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/edit_order.PNG -------------------------------------------------------------------------------- /storage/assets/User/order_list.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/order_list.PNG -------------------------------------------------------------------------------- /storage/assets/User/user_point.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/user_point.PNG -------------------------------------------------------------------------------- /storage/app/public/home/laracoffee.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/home/laracoffee.jpg -------------------------------------------------------------------------------- /storage/assets/Admin/add_product.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/Admin/add_product.PNG -------------------------------------------------------------------------------- /storage/assets/Admin/detail_order.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/Admin/detail_order.PNG -------------------------------------------------------------------------------- /storage/assets/Admin/edit_product.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/Admin/edit_product.PNG -------------------------------------------------------------------------------- /storage/assets/Admin/history_order.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/Admin/history_order.PNG -------------------------------------------------------------------------------- /storage/assets/Admin/transactions.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/Admin/transactions.PNG -------------------------------------------------------------------------------- /storage/assets/User/authentication.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/authentication.PNG -------------------------------------------------------------------------------- /storage/assets/User/edit_profile.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/edit_profile.PNG -------------------------------------------------------------------------------- /storage/assets/User/make_an_order.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/make_an_order.PNG -------------------------------------------------------------------------------- /storage/assets/User/order_detail.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/order_detail.PNG -------------------------------------------------------------------------------- /storage/assets/User/product_detail.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/product_detail.PNG -------------------------------------------------------------------------------- /storage/assets/User/registration.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/registration.PNG -------------------------------------------------------------------------------- /storage/assets/User/submit_review.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/submit_review.PNG -------------------------------------------------------------------------------- /storage/assets/User/upload_bukti.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/User/upload_bukti.PNG -------------------------------------------------------------------------------- /storage/assets/Admin/customer_lists.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/assets/Admin/customer_lists.PNG -------------------------------------------------------------------------------- /storage/app/public/icons/online-banking.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/icons/online-banking.png -------------------------------------------------------------------------------- /storage/app/public/icons/cash-on-delivery.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/icons/cash-on-delivery.png -------------------------------------------------------------------------------- /storage/app/public/lotties/loading-animation.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/lotties/loading-animation.gif -------------------------------------------------------------------------------- /storage/app/public/landing/landing-background.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/landing/landing-background.jpg -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /storage/app/public/product/Gy6UVqa000obrsMGJaRAzZ4hWEz5WGhu38QawLzC.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/product/Gy6UVqa000obrsMGJaRAzZ4hWEz5WGhu38QawLzC.jpg -------------------------------------------------------------------------------- /storage/app/public/product/gaamRDJEO5xNbQMfgSXx91ZNIVYxid2S110yVkKg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/product/gaamRDJEO5xNbQMfgSXx91ZNIVYxid2S110yVkKg.jpg -------------------------------------------------------------------------------- /storage/app/public/product/r8e0iS6hEBocNNBRkmTy5uL7BUf9IjNSQmZrgKJy.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/product/r8e0iS6hEBocNNBRkmTy5uL7BUf9IjNSQmZrgKJy.jpg -------------------------------------------------------------------------------- /storage/app/public/product/sPISped9AR4XyNKlkSpiUyo7OkcJj8mSBmPuF6Ky.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/product/sPISped9AR4XyNKlkSpiUyo7OkcJj8mSBmPuF6Ky.png -------------------------------------------------------------------------------- /storage/app/public/profile/cV8nuMT7VBfYYtANwUxegJ366XDbw0nXdxLEvehk.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/snykk/Laracoffee/HEAD/storage/app/public/profile/cV8nuMT7VBfYYtANwUxegJ366XDbw0nXdxLEvehk.jpg -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | 3 | {{-- bootstrap icon --}} 4 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | *.blade.php diff=html 4 | *global.css linguist-vendored 5 | *auth.css linguist-vendored 6 | *.html diff=html 7 | *.md diff=markdown 8 | *.php diff=php 9 | 10 | /.github export-ignore 11 | CHANGELOG.md export-ignore 12 | .styleci.yml export-ignore 13 | -------------------------------------------------------------------------------- /public/js/profile.js: -------------------------------------------------------------------------------- 1 | import { previewImage } from "/js/image_preview.js"; 2 | 3 | $("#image").on("change", function () { 4 | previewImage({ 5 | image: "image", 6 | image_preview: "image-preview", 7 | image_preview_alt: "Profile Image", 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /public/build 3 | /public/hot 4 | /public/storage 5 | /storage/*.key 6 | /vendor 7 | .env 8 | .env.backup 9 | .phpunit.result.cache 10 | Homestead.json 11 | Homestead.yaml 12 | auth.json 13 | npm-debug.log 14 | yarn-error.log 15 | /.idea 16 | /.vscode 17 | /sample -------------------------------------------------------------------------------- /app/Models/Category.php: -------------------------------------------------------------------------------- 1 | 2 |
No Data
7 | @if (!isset($is_filtered)) 8 |No orders right now!
9 | @else 10 |No orders with status {{ $is_filtered }}
11 | @endif 12 | 13 | @if (auth()->user()->role_id == 2) 14 | 15 | 16 | Buy some good product now 17 | 18 | @else 19 | 20 | 21 | Wanna check order history? 22 | 23 | @endif 24 |Your Point
28 |Get points every time you buy our products to get free products 29 |
30 | 36 || Full Name | 32 |Username | 33 |Role | 35 |Gender | 36 |Phone | 37 |Address | 38 |Created At | 39 ||
|---|---|---|---|---|---|---|---|
| {{ $row->fullname }} | 45 |{{ $row->username }} | 46 |{{ $row->email }} | 47 |{{ $row->role->role_name }} | 48 |{{ $row->gender == "M" ? "Male" : "Female" }} | 49 |{{ $row->phone }} | 50 |{{ $row->address }} | 51 |{{ date('d-m-Y', strtotime($row->created_at)) }} | 52 |
{{ auth()->user()->role->role_name }}
22 |User since {{ auth()->user()->created_at->format('d M Y') 23 | }}
24 |{{ $row->orientation }}
48 |Lorem ipsum dolor sit amet consectetur adipisicing elit. 57 | Doloremque nam voluptas distinctio facere assumenda delectus.
58 | 59 | 60 | 62 | 63 | 64 | 66 | 67 | 68 | @can('edit_product',App\Models\Product::class) 69 | 71 | @endcan 72 | @can('create_order',App\Models\Order::class) 73 | 75 | @endcan 76 |