feat: rename 'fee' to 'unitPrice' across purchase components and models
- Updated form component to use 'unitPrice' instead of 'fee'. - Adjusted product charge row form fields and templates to reflect the new naming. - Modified receipt template and related components to utilize 'unitPrice'. - Changed models and interfaces to replace 'fee' with 'unitPrice'. - Updated supplier invoice and statistics components to align with the new naming convention. - Added new API routes for dashboard and statistics modules.
This commit is contained in:
@@ -1,9 +1,48 @@
|
||||
import { Component } from '@angular/core';
|
||||
import {
|
||||
IColumn,
|
||||
PageDataListComponent,
|
||||
} from '@/shared/components/pageDataList/page-data-list.component';
|
||||
import { Component, signal } from '@angular/core';
|
||||
import { IBankAccountsResponse } from '../models';
|
||||
|
||||
@Component({
|
||||
selector: 'app-bank-account',
|
||||
templateUrl: './single.component.html',
|
||||
imports: [PageDataListComponent],
|
||||
})
|
||||
export class BankAccountComponent {
|
||||
constructor() {}
|
||||
|
||||
columns = [
|
||||
{ field: 'id', header: 'شناسه', width: '60px' },
|
||||
{
|
||||
field: 'name',
|
||||
header: 'نام',
|
||||
minWidth: '100px',
|
||||
},
|
||||
|
||||
{
|
||||
field: 'accountNumber',
|
||||
header: 'شماره حساب بانکی',
|
||||
canCopy: true,
|
||||
minWidth: '160px',
|
||||
},
|
||||
{
|
||||
field: 'iban',
|
||||
header: 'شماره شبا',
|
||||
canCopy: true,
|
||||
minWidth: '200px',
|
||||
},
|
||||
{
|
||||
field: 'cardNumber',
|
||||
header: 'شماره کارت بانکی',
|
||||
canCopy: true,
|
||||
minWidth: '160px',
|
||||
},
|
||||
{ field: 'createdAt', header: 'تاریخ ایجاد', type: 'date' },
|
||||
{ field: 'updatedAt', header: 'تاریخ بهروزرسانی', type: 'date' },
|
||||
] as IColumn[];
|
||||
|
||||
loading = signal(false);
|
||||
items = signal<IBankAccountsResponse[]>([]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user