mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-22 06:15:47 +00:00
feat(FE-337): slicing ui form finance and API integration
This commit is contained in:
Vendored
+37
-6
@@ -1,4 +1,4 @@
|
||||
export interface Finance {
|
||||
export type Finance = {
|
||||
id: number;
|
||||
payment_code: string;
|
||||
reference_number: string;
|
||||
@@ -12,18 +12,49 @@ export interface Finance {
|
||||
income_amount: number;
|
||||
nominal: number;
|
||||
notes: string;
|
||||
}
|
||||
};
|
||||
|
||||
export interface FinanceParty {
|
||||
export type FinanceParty = {
|
||||
id: number;
|
||||
name: string;
|
||||
type: string;
|
||||
account_number: string;
|
||||
}
|
||||
export interface FinanceBank {
|
||||
};
|
||||
export type FinanceBank = {
|
||||
id: number;
|
||||
name: string;
|
||||
alias: string;
|
||||
owner: string;
|
||||
account_number: string;
|
||||
}
|
||||
};
|
||||
export type CreateFinancePayment = {
|
||||
party_id: number;
|
||||
party_type: string;
|
||||
payment_date: string;
|
||||
payment_method: string;
|
||||
bank_id: number;
|
||||
reference_number: string;
|
||||
nominal: number;
|
||||
notes: string;
|
||||
};
|
||||
|
||||
export type UpdateFinancePayment = CreateFinancePayment;
|
||||
export type CreateInitialBalance = {
|
||||
party_type: string;
|
||||
party_id: number;
|
||||
bank_id: number;
|
||||
reference_number: string;
|
||||
initial_balance_type: string;
|
||||
nominal: number;
|
||||
note: string;
|
||||
};
|
||||
|
||||
export type UpdateInitialBalance = CreateInitialBalance;
|
||||
export type CreateInjection = {
|
||||
bank_id: number;
|
||||
adjustment_date: string;
|
||||
nominal: number;
|
||||
notes: string;
|
||||
};
|
||||
|
||||
export type UpdateInjection = CreateInjection;
|
||||
|
||||
Reference in New Issue
Block a user