502c592f56
- 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.
49 lines
1.2 KiB
TypeScript
49 lines
1.2 KiB
TypeScript
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[]>([]);
|
|
}
|