83f124b910
- Implemented sale invoice card component with HTML and TypeScript files. - Added API routes for sale invoices including sending, retrying, and checking status. - Created models for sale invoice fiscal actions and filters. - Developed service for handling sale invoice operations. - Introduced store for managing sale invoice state. - Created views for listing and displaying single sale invoices. - Added support for managing stock keeping units with forms and services. - Implemented reusable select components for measure units and SKUs. - Enhanced shared components for input fields including fiscal ID, SKU type, and VAT.
22 lines
439 B
TypeScript
22 lines
439 B
TypeScript
export interface IStockKeepingUnitRawResponse {
|
|
id: string;
|
|
code: string;
|
|
name: string;
|
|
VAT: number;
|
|
type: string;
|
|
is_public: boolean;
|
|
is_domestic: boolean;
|
|
created_at?: string;
|
|
}
|
|
|
|
export interface IStockKeepingUnitResponse extends IStockKeepingUnitRawResponse {}
|
|
|
|
export interface IStockKeepingUnitRequest {
|
|
code: string;
|
|
name: string;
|
|
VAT: number;
|
|
type?: string;
|
|
is_public?: boolean;
|
|
is_domestic?: boolean;
|
|
}
|