feat: add sale invoice card component with functionality for sending and retrieving invoice status
- 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.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
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;
|
||||
}
|
||||
Reference in New Issue
Block a user