added some feature for accounting and enhance performance for dashboard

This commit is contained in:
2026-08-30 20:18:48 +03:30
parent e059a4709e
commit 283f17561c
6 changed files with 1251 additions and 84 deletions
+7
View File
@@ -250,12 +250,15 @@ Route::middleware('auth:user')->group(function (){
Route::get('tahesab/customer-sync/status', [TahesabController::class, 'customerSyncStatus']);
Route::post('tahesab/customer-sync/panel-to-tahesab', [TahesabController::class, 'syncPanelToTahesab']);
Route::post('tahesab/customer-sync/import-from-tahesab', [TahesabController::class, 'importFromTahesab']);
Route::post('tahesab/customer-sync/link-by-phone', [TahesabController::class, 'linkMatchingPhones']);
Route::post('tahesab/customer-sync/rollback-import', [TahesabController::class, 'rollbackImport']);
Route::post('tahesab/mande-by-codes', [TahesabController::class, 'mandeByCodes']);
Route::post('tahesab/wallet-sync/all', [TahesabController::class, 'syncAllWallets']);
Route::get('tahesab/{id}', [TahesabController::class, 'show']);
Route::post('tahesab/{id}/retry', [TahesabController::class, 'retrySanad']);
Route::post('customer/{id}/tahesab/register', [TahesabController::class, 'registerCustomer']);
Route::post('customer/{id}/tahesab/sync-wallet', [TahesabController::class, 'syncCustomerWallet']);
Route::post('customer/{id}/tahesab/preview-wallet', [TahesabController::class, 'previewCustomerWallet']);
Route::get('zarin/health', [ZarinController::class, 'healthCheck']);
Route::post('wallet/zarin', [ZarinController::class, 'wallet']);
@@ -269,10 +272,14 @@ Route::middleware('auth:user')->group(function (){
Route::match(['get', 'post'], 'zarin/customer-sync/status', [ZarinController::class, 'customerSyncStatus']);
Route::post('zarin/customer-sync/panel-to-zarin', [ZarinController::class, 'syncPanelToZarin']);
Route::post('zarin/customer-sync/import-from-zarin', [ZarinController::class, 'importFromZarin']);
Route::post('zarin/customer-sync/link-by-phone', [ZarinController::class, 'linkMatchingPhones']);
Route::post('zarin/customer-sync/rollback-import', [ZarinController::class, 'rollbackImport']);
Route::post('zarin/wallet-sync/all', [ZarinController::class, 'syncAllWallets']);
Route::get('zarin/{id}', [ZarinController::class, 'show']);
Route::post('zarin/{id}/retry', [ZarinController::class, 'retrySanad']);
Route::post('customer/{id}/zarin/register', [ZarinController::class, 'registerCustomer']);
Route::post('customer/{id}/zarin/sync-wallet', [ZarinController::class, 'syncCustomerWallet']);
Route::post('customer/{id}/zarin/preview-wallet', [ZarinController::class, 'previewCustomerWallet']);
Route::post('pargar/table', [PargarController::class, 'table']);
Route::get('pargar/customer-sync/status', [PargarController::class, 'customerSyncStatus']);