Skip to content

Instantly share code, notes, and snippets.

@delowar-mtl
Created May 14, 2023 04:23
Show Gist options
  • Save delowar-mtl/6a133503232996659eb830c43db51232 to your computer and use it in GitHub Desktop.
Save delowar-mtl/6a133503232996659eb830c43db51232 to your computer and use it in GitHub Desktop.
const purchaseOrder = ref( {
pay_order_id: "",
date: "",
sequence: "",
mpr_id: "",
vendor_id: "",
entry_by: "",
cs_id: "",
carrying_charge: "",
labour_charge: "",
sub_total: "",
round_off: "",
discount: "",
grand_total: "",
is_src_tax_applicable: "",
is_src_vat_applicable: "",
terms: "",
remarks: "",
pay_order: {
no: "",
date: "",
amount: "",
bank_name: "",
branch_name: "",
vendor_id: "",
vendor_name: "",
},
materials: [
{
stockable_type: "",
stockable_id: "",
item_type: "",
item_key: "",
material_id: "",
color: "",
size: "",
quantity: "",
unit: "",
unit_price: "",
amount: "",
warehouse_id: "",
remarks: "",
previous_stock: "",
present_stock: "",
},
{
stockable_type: "",
stockable_id: "",
item_type: "",
item_key: "",
material_id: "",
color: "",
size: "",
quantity: "",
unit: "",
unit_price: "",
amount: "",
warehouse_id: "",
remarks: "",
previous_stock: "",
present_stock: "",
}
]
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment