wip
This commit is contained in:
@@ -43,6 +43,26 @@ class OnlinePaymentHistoryResource extends Resource
|
||||
return __('Online payment history');
|
||||
}
|
||||
|
||||
/**
|
||||
* Fields for index
|
||||
*
|
||||
* @param NovaRequest $request
|
||||
*/
|
||||
public function fieldsForIndex(NovaRequest $request)
|
||||
{
|
||||
return [
|
||||
Text::make('PNR', 'orderNumber'),
|
||||
Text::make('ID', 'orderId'),
|
||||
Text::make('Möçberi', 'amount'),
|
||||
Text::make('Desc', 'description'),
|
||||
Text::make('Status', 'paymentStatus'),
|
||||
Text::make('username', 'username'),
|
||||
|
||||
DateTime::make(__('Created at'), 'created_at')
|
||||
->displayUsing(fn ($date) => $date?->format('H:i, d.m.Y')),
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the fields displayed by the resource.
|
||||
*
|
||||
|
||||
@@ -322,5 +322,7 @@
|
||||
"Send payment": "Tölegi geçir",
|
||||
"Currencies": "Walýutalar",
|
||||
"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 history": "Onlaýn töleg taryhy"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user