This commit is contained in:
2024-11-25 22:13:57 +05:00
parent 590a88a96a
commit 717f90fca2
4 changed files with 21 additions and 16 deletions

View File

@@ -28,11 +28,11 @@ class MakePaymentNovaVisaMaster extends Action
use InteractsWithQueue, Queueable; use InteractsWithQueue, Queueable;
/** /**
* Action name * Name.
*/ */
public function name(): string public function name(): string
{ {
return __('Send payment'); return __('Make payment');
} }
/** /**

View File

@@ -25,6 +25,14 @@ class MakeSberPaymentAction extends Action
{ {
use InteractsWithQueue, Queueable; use InteractsWithQueue, Queueable;
/**
* Name.
*/
public function name(): string
{
return __('Make payment');
}
/** /**
* Perform the action on the given models. * Perform the action on the given models.
*/ */

View File

@@ -40,14 +40,6 @@ class NovaVisaMasterSetting extends Resource
return __('Visa Master Settings'); return __('Visa Master Settings');
} }
/**
* Get the displayable singular label of the resource.
*/
public static function singularLabel(): string
{
return __('Visa Master Setting');
}
/** /**
* Get the fields displayed by the resource. * Get the fields displayed by the resource.
* *
@@ -59,13 +51,15 @@ class NovaVisaMasterSetting extends Resource
return [ return [
ID::make('id')->sortable(), ID::make('id')->sortable(),
Text::make('Name') Text::make(__('Code'), 'name')
->rules('required', 'string', 'max:255'), ->rules('required', 'string', 'max:255')
->readonly(! auth()->user()->isMe()),
Text::make('Display name', 'display_name') Text::make(__('Name'), 'display_name')
->rules('required', 'string', 'max:255'), ->rules('required', 'string', 'max:255')
->readonly(! auth()->user()->isMe()),
Text::make('Value') Text::make(__('Yazgy'), 'value')
->rules('required', 'string', 'max:255'), ->rules('required', 'string', 'max:255'),
]; ];
} }

View File

@@ -132,6 +132,7 @@
"Patronic name": "Atasynyň ady", "Patronic name": "Atasynyň ady",
"Payload Too Large": "Loadük gaty uly", "Payload Too Large": "Loadük gaty uly",
"Payment": "Töleg", "Payment": "Töleg",
"Payments": "Tölegler",
"Payment Required": "Töleg talap edilýär", "Payment Required": "Töleg talap edilýär",
"Pending": "Garaşylýar", "Pending": "Garaşylýar",
"Permanent Redirect": "Hemişelik gönükdirme", "Permanent Redirect": "Hemişelik gönükdirme",
@@ -326,5 +327,7 @@
"Passport number": "Pasport nomeri", "Passport number": "Pasport nomeri",
"Fetch loan history": "Karz taryhyny görmek", "Fetch loan history": "Karz taryhyny görmek",
"Online payment": "Onlaýn töleg", "Online payment": "Onlaýn töleg",
"Online payment history": "Onlaýn töleg taryhy" "Online payment history": "Onlaýn töleg taryhy",
"Make payment": "Töleg",
"Visa Master Settings": "Visa/Master sazlamalar"
} }