fix
This commit is contained in:
@@ -7,6 +7,7 @@ export interface Contract {
|
||||
absolute_url: string;
|
||||
contract_type: string;
|
||||
category: string;
|
||||
category_id: number | null;
|
||||
amount_total_display: string;
|
||||
amount_by_ds: string;
|
||||
comment: string;
|
||||
@@ -30,6 +31,7 @@ export interface Contract {
|
||||
project_id: number | null;
|
||||
frc_id: number | null;
|
||||
employee_id: number | null;
|
||||
category_ref: ContractCategory | null;
|
||||
counterparty: Counterparty | null;
|
||||
project: Project | null;
|
||||
frc: Frc | null;
|
||||
@@ -42,6 +44,7 @@ export interface ContractCreate {
|
||||
absolute_url: string;
|
||||
contract_type: string;
|
||||
category: string;
|
||||
category_id?: number | null;
|
||||
amount_total_display: string;
|
||||
amount_by_ds: string;
|
||||
comment: string;
|
||||
@@ -73,6 +76,7 @@ export interface ContractUpdate {
|
||||
absolute_url?: string;
|
||||
contract_type?: string;
|
||||
category?: string;
|
||||
category_id?: number | null;
|
||||
amount_total_display?: string;
|
||||
amount_by_ds?: string;
|
||||
comment?: string;
|
||||
@@ -112,6 +116,7 @@ export interface ContractListParams extends ListParams {
|
||||
contract_type__contains?: string;
|
||||
category?: string;
|
||||
category__contains?: string;
|
||||
category_id?: number | null;
|
||||
counterparty_name__contains?: string;
|
||||
name_of_product__contains?: string;
|
||||
counterparty_id?: number | null;
|
||||
@@ -182,6 +187,42 @@ export interface ContractApplicationFileListParams extends ListParams {
|
||||
status?: string;
|
||||
}
|
||||
|
||||
export interface ContractCategory {
|
||||
id: number;
|
||||
name: string;
|
||||
name_group: string;
|
||||
template: string | null;
|
||||
is_questionnair: boolean;
|
||||
parent: number | null;
|
||||
secure_group: number | null;
|
||||
}
|
||||
|
||||
export interface ContractCategoryCreate {
|
||||
name: string;
|
||||
name_group: string;
|
||||
template?: string | null;
|
||||
is_questionnair: boolean;
|
||||
parent?: number | null;
|
||||
secure_group?: number | null;
|
||||
}
|
||||
|
||||
export interface ContractCategoryUpdate {
|
||||
name?: string;
|
||||
name_group?: string;
|
||||
template?: string | null;
|
||||
is_questionnair?: boolean;
|
||||
parent?: number | null;
|
||||
secure_group?: number | null;
|
||||
}
|
||||
|
||||
export interface ContractCategoryListParams extends ListParams {
|
||||
id?: number;
|
||||
name?: string;
|
||||
name__contains?: string;
|
||||
name_group?: string;
|
||||
name_group__contains?: string;
|
||||
}
|
||||
|
||||
export interface Counterparty {
|
||||
id: number;
|
||||
name: string;
|
||||
|
||||
Reference in New Issue
Block a user