add header show SMSpanel

This commit is contained in:
2026-07-07 17:42:09 +03:30
parent 10460beb5b
commit 628ee48bea
5 changed files with 163 additions and 5 deletions
+4
View File
@@ -207,11 +207,15 @@ Route::middleware('auth:user')->group(function (){
Route::put('categories/{id}', [CategoryController::class, 'update']);
Route::get('categories/{id}/active/{active}', [CategoryController::class, 'changeActive']);
// خلاصه کیف پول پیامک برای همه ادمین‌ها (نمایش «اعتبار پیامک» در هدر)
Route::get('sms-wallet/summary', [SmsPanelController::class, 'walletSummary']);
Route::middleware('sms.panel.super')->prefix('sms-panel')->group(function () {
Route::get('overview', [SmsPanelController::class, 'overview']);
Route::post('charge', [SmsPanelController::class, 'charge']);
Route::put('price', [SmsPanelController::class, 'updatePrice']);
Route::put('block', [SmsPanelController::class, 'updateBlock']);
Route::put('deposit-info', [SmsPanelController::class, 'updateDepositInfo']);
Route::post('logs/table', [SmsPanelController::class, 'logsTable']);
Route::post('ledger/table', [SmsPanelController::class, 'ledgerTable']);
Route::get('report', [SmsPanelController::class, 'report']);