feat: update POS and account components to use new field names and improve form handling
This commit is contained in:
@@ -5,7 +5,7 @@ import { IPosInitialValues } from './pos.model';
|
||||
export const columns: IColumn[] = [
|
||||
// { field: 'id', header: 'شناسه', type: 'id' },
|
||||
{ field: 'name', header: 'عنوان' },
|
||||
{ field: 'serial', header: 'شماره سریال' },
|
||||
{ field: 'serial_number', header: 'شماره سریال' },
|
||||
{ field: 'pos_type', header: 'نوع دستگاه' },
|
||||
{ field: 'device', header: 'دستگاه', type: 'nested', nestedOption: { path: 'device.name' } },
|
||||
{
|
||||
@@ -14,7 +14,7 @@ export const columns: IColumn[] = [
|
||||
type: 'nested',
|
||||
nestedOption: { path: 'provider.name' },
|
||||
},
|
||||
{ field: 'status', header: 'وضعیت' },
|
||||
{ field: 'account', header: 'کاربر', type: 'nested', nestedOption: { path: 'account.username' } },
|
||||
{
|
||||
field: 'created_at',
|
||||
header: 'تاریخ ایجاد',
|
||||
|
||||
Reference in New Issue
Block a user