Fix #51
This commit is contained in:
@@ -475,6 +475,10 @@ const setCustomerData = async (customerId, loadOnlyAdress = false) => {
|
||||
|
||||
if (!loadOnlyAdress && customer.customPaymentDays) itemInfo.value.paymentDays = customer.customPaymentDays
|
||||
if (!loadOnlyAdress && customer.custom_payment_type) itemInfo.value.payment_type = customer.custom_payment_type
|
||||
if (!loadOnlyAdress) {
|
||||
itemInfo.value.taxType = customer.customTaxType || "Standard"
|
||||
setTaxType()
|
||||
}
|
||||
|
||||
if (!loadOnlyAdress && customer.customSurchargePercentage) {
|
||||
itemInfo.value.customSurchargePercentage = customer.customSurchargePercentage
|
||||
|
||||
Reference in New Issue
Block a user