From 1b97f5082d1ea6c41d8b52e40c16c7c6ddb01105 Mon Sep 17 00:00:00 2001 From: edmondlang Date: Fri, 15 Sep 2023 01:20:44 +0800 Subject: [PATCH] add route wallet/{marking}/details-precise --- ...omerTransactionPreciseSectionComponent.vue | 174 ++++++++++++++++++ .../views/pages/wallet/precise.blade.php | 10 + routes/web.php | 5 + 3 files changed, 189 insertions(+) create mode 100644 resources/assets/vue/components/wallets/elements/CustomerTransactionPreciseSectionComponent.vue create mode 100644 resources/views/pages/wallet/precise.blade.php diff --git a/resources/assets/vue/components/wallets/elements/CustomerTransactionPreciseSectionComponent.vue b/resources/assets/vue/components/wallets/elements/CustomerTransactionPreciseSectionComponent.vue new file mode 100644 index 00000000..85868a2b --- /dev/null +++ b/resources/assets/vue/components/wallets/elements/CustomerTransactionPreciseSectionComponent.vue @@ -0,0 +1,174 @@ + + diff --git a/resources/views/pages/wallet/precise.blade.php b/resources/views/pages/wallet/precise.blade.php new file mode 100644 index 00000000..b0cd7af4 --- /dev/null +++ b/resources/views/pages/wallet/precise.blade.php @@ -0,0 +1,10 @@ + +@extends('layouts.base_portal') +@section('inner_content') +
+
+ +
+
+@endsection + diff --git a/routes/web.php b/routes/web.php index a9e51a50..e2357c00 100644 --- a/routes/web.php +++ b/routes/web.php @@ -231,6 +231,11 @@ Route::get('/wallet/{marking}/details', function ($marking) { return view('pages.wallet.index', ['id' => $id]); })->name('wallet.details'); +Route::get('/wallet/{marking}/details-precise', function ($marking) { + $id = \App\Models\Company::where('reference', '=', $marking)->first()->id; + return view('pages.wallet.precise', ['id' => $id]); +})->name('wallet.details-precise'); + Route::get('/wallets', function () { return view('pages.wallet.wallets'); })->name('wallet.wallets');