mirror of
https://github.com/serty2005/rmser.git
synced 2026-02-04 19:02:33 -06:00
Перевел на multi-tenant
Добавил поставщиков Накладные успешно создаются из фронта
This commit is contained in:
@@ -243,3 +243,18 @@ type ErrorDTO struct {
|
||||
Code string `json:"code"`
|
||||
Value string `json:"value"`
|
||||
}
|
||||
|
||||
// --- Suppliers XML (Legacy API /resto/api/suppliers) ---
|
||||
|
||||
type SuppliersListXML struct {
|
||||
XMLName xml.Name `xml:"employees"`
|
||||
Employees []SupplierXML `xml:"employee"`
|
||||
}
|
||||
|
||||
type SupplierXML struct {
|
||||
ID string `xml:"id"`
|
||||
Name string `xml:"name"`
|
||||
Code string `xml:"code"`
|
||||
TaxpayerIdNumber string `xml:"taxpayerIdNumber"` // ИНН
|
||||
Deleted string `xml:"deleted"` // "true" / "false"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user