Apply Tahesab account balances to wallets with admin overwrite control.
Add inbound mande sync on customer import plus per-customer and bulk wallet-sync endpoints so previously linked accounts can catch up. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -251,9 +251,11 @@ Route::middleware('auth:user')->group(function (){
|
||||
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/rollback-import', [TahesabController::class, 'rollbackImport']);
|
||||
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::get('zarin/health', [ZarinController::class, 'healthCheck']);
|
||||
Route::post('wallet/zarin', [ZarinController::class, 'wallet']);
|
||||
|
||||
Reference in New Issue
Block a user