- rate approval: API creates pending proposals, manager approves - customer_credits + credit_settlements tables - CustomerCreditService (grant/settle via wallet) - rebuilt CustomerCreditResource - CustomerFinancialController: real foreign-currency debt - WP login redirect + custom login page wiring
28 lines
891 B
PHP
28 lines
891 B
PHP
<?php
|
|
|
|
namespace App\Filament\Pages;
|
|
|
|
use Filament\Pages\Page;
|
|
|
|
/**
|
|
* گزینهٔ placeholder برای «طراحی مجدد ویجتهای داشبورد».
|
|
* پس از تحویل، ویجتهای فعلی بازطراحی خواهند شد. این صفحه فقط یک یادآور
|
|
* و فهرست ویجتهای موردنظر است.
|
|
*/
|
|
class DashboardWidgetRedesign extends Page
|
|
{
|
|
protected static ?string $navigationIcon = 'heroicon-o-swatch';
|
|
|
|
protected static string $view = 'filament.pages.dashboard-widget-redesign';
|
|
|
|
protected static ?string $navigationLabel = 'طراحی مجدد ویجتها';
|
|
|
|
protected static ?string $navigationGroup = 'ابزارها';
|
|
|
|
protected static ?int $navigationSort = 2;
|
|
|
|
public static function canViewAny(): bool
|
|
{
|
|
return auth()->user()?->hasAnyRole(['super_admin', 'admin']) ?? false;
|
|
}
|
|
} |