feat: add stock keeping units list component and related services
feat: implement checkbox component with label and hint support feat: create sale invoice full response model for invoice details feat: add single view component for displaying sale invoice details feat: define various list configurations for account, business activity, and consumer management feat: establish list configurations for managing devices, goods, and licenses feat: create list configurations for managing partners and their accounts feat: implement user management list configuration
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
import { IListConfig } from './list-config.model';
|
||||
|
||||
export const consumerListConfig: IListConfig = {
|
||||
pageTitle: 'مدیریت مشتریها',
|
||||
addNewCtaLabel: 'افزودن مشتری',
|
||||
emptyPlaceholderTitle: 'مشتریای یافت نشد',
|
||||
emptyPlaceholderDescription: 'برای افزودن مشتری، روی دکمهٔ بالا کلیک کنید.',
|
||||
columns: [
|
||||
{ field: 'name', header: 'عنوان' },
|
||||
{
|
||||
field: 'business_counts',
|
||||
header: 'تعداد کسبوکارها',
|
||||
customDataModel(item: any) {
|
||||
return item.business_counts || 0;
|
||||
},
|
||||
},
|
||||
{
|
||||
field: 'partner',
|
||||
header: 'ارایهدهنده',
|
||||
type: 'nested',
|
||||
nestedOption: { path: 'partner.name' },
|
||||
},
|
||||
{
|
||||
field: 'status',
|
||||
header: 'وضعیت',
|
||||
type: 'nested',
|
||||
nestedOption: { path: 'status.translate' },
|
||||
},
|
||||
{
|
||||
field: 'created_at',
|
||||
header: 'تاریخ ایجاد',
|
||||
type: 'date',
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user