Merge branch 'master' of gitlab.com:CIEFWorldwideSdnBhd/exchange-2.0 into list-transfer-with-filters

This commit is contained in:
edmondlang
2023-06-22 18:05:38 +08:00
72 changed files with 4919 additions and 11 deletions
+14 -1
View File
@@ -1,5 +1,6 @@
<?php
use App\Http\Controllers\Accounting\BankStatementController;
use Carbon\Carbon;
use App\Models\User;
use App\Models\Wallet;
@@ -561,6 +562,18 @@ Route::get('/currency-rate-history', function () {
return view('pages.rate_histories')->with('paymentMethods', $paymentMethods);
})->name('currency_rate.history');
Route::get('/statements', [BankStatementController::class, 'index'])->name('statements.index');
Route::get('/statements/v2', [BankStatementController::class, 'indexv2'])->name('statements.indexv2');
Route::post('/statements/import', [BankStatementController::class, 'import'])->name('statements.import');
Route::get('/statements/{statement}/details', function ($statement) {
return view('pages.accounting.bank-statements.details', ['statement' => $statement]);
})->name('statements.transactions.details');
Route::get('/statements/{account}/transactions', function ($account) {
return view('pages.accounting.bank-statements.bank_statement', ['account' => $account]);
})->name('statements.account.transactions');
Route::get('/statements/{statement}', [BankStatementController::class, 'show'])->name('statements.show');
Route::get('/statements/mapping/rerun', [BankStatementController::class, 'rerun'])->name('statements.rerun');
Route::get('/statements/{statement}/download', 'StatementController@download')->name('statements.download');
Route::get('/bank-record', 'Imports\ImportBankRecordController@import');
Route::get('/po/outsource/check', function(){
@@ -604,4 +617,4 @@ Route::get('/po/outsource/check', function(){
Route::get('/upload-honey-trap', function () {
return view('pages.honey_trap');
})->name('upload_honey_trap');
})->name('upload_honey_trap');