Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractNumber ¶
func ExtractNumber(data InvoiceBillSettingModel, number string) string
func GenerateInvoiceBillNumber ¶
func GenerateInvoiceBillNumber(data InvoiceBillSettingModel, before string) string
Types ¶
type InvoiceBillSettingModel ¶
type InvoiceBillSettingModel struct {
ParentTemplate string `json:"parent_template"`
Template string `json:"template"`
StaticCharacter string `json:"static_character"`
NumberFormat string `json:"number_format"`
AutoNumericLength int `json:"auto_numeric_length"`
RandomNumericLength int `json:"random_numeric_length"`
RandomCharacterLength int `json:"random_character_length"`
ShowSKU bool `json:"show_sku"`
Title string `json:"title"`
StoreID string `json:"store_id"`
SourceID string `json:"source_id"`
DestinationID string `json:"destination_id"`
DestinationCashID string `json:"destination_cash_id"`
TaxID string `json:"tax_id"`
TaxMethod string `json:"tax_method"`
SecondaryTaxID string `json:"secondary_tax_id"`
SecondaryTaxMethod string `json:"secondary_tax_method"`
Notes string `json:"notes"`
IsAutoStock bool `json:"is_auto_stock"`
}
Click to show internal directories.
Click to hide internal directories.