Deleted Loggin Output
This commit is contained in:
@@ -36,6 +36,7 @@ const itemInfo = ref({
|
||||
deliveryDateType: "Lieferdatum",
|
||||
dateOfPerformance: null,
|
||||
paymentDays: auth.activeTenantData.standardPaymentDays,
|
||||
payment_type: "transfer",
|
||||
customSurchargePercentage: 0,
|
||||
createdBy: auth.user.id,
|
||||
title: null,
|
||||
@@ -292,6 +293,7 @@ const setupPage = async () => {
|
||||
if (optionsToImport.deliveryDateEnd) itemInfo.value.deliveryDateEnd = linkedDocument.deliveryDateEnd
|
||||
if (optionsToImport.documentDate) itemInfo.value.documentDate = linkedDocument.documentDate
|
||||
if (optionsToImport.paymentDays) itemInfo.value.paymentDays = linkedDocument.paymentDays
|
||||
if (optionsToImport.payment_type) itemInfo.value.payment_type = linkedDocument.payment_type
|
||||
if (optionsToImport.customSurchargePercentage) itemInfo.value.customSurchargePercentage = linkedDocument.customSurchargePercentage
|
||||
if (optionsToImport.contactPerson) itemInfo.value.contactPerson = linkedDocument.contactPerson
|
||||
if (optionsToImport.plant) itemInfo.value.plant = linkedDocument.plant
|
||||
@@ -317,6 +319,7 @@ const setupPage = async () => {
|
||||
itemInfo.value.deliveryDateEnd = linkedDocument.deliveryDateEnd
|
||||
itemInfo.value.documentDate = linkedDocument.documentDate
|
||||
itemInfo.value.paymentDays = linkedDocument.paymentDays
|
||||
itemInfo.value.payment_type = linkedDocument.payment_type
|
||||
itemInfo.value.customSurchargePercentage = linkedDocument.customSurchargePercentage
|
||||
itemInfo.value.contactPerson = linkedDocument.contactPerson
|
||||
itemInfo.value.plant = linkedDocument.plant
|
||||
@@ -457,6 +460,7 @@ const setCustomerData = async (customerId, loadOnlyAdress = false) => {
|
||||
itemInfo.value.address.special = customer.infoData.special
|
||||
|
||||
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 && customer.customSurchargePercentage) {
|
||||
itemInfo.value.customSurchargePercentage = customer.customSurchargePercentage
|
||||
@@ -1051,6 +1055,7 @@ const getDocumentData = async () => {
|
||||
nachname: (contactData && contactData.lastName) || (customerData && customerData.lastname),
|
||||
kundenname: customerData && customerData.name,
|
||||
zahlungsziel_in_tagen: itemInfo.paymentDays,
|
||||
zahlungsart: itemInfo.payment_type === "transfer" ? "Überweisung" : "Lastschrift",
|
||||
diesel_gesamtverbrauch: (itemInfo.agriculture && itemInfo.agriculture.dieselUsageTotal) && itemInfo.agriculture.dieselUsageTotal
|
||||
}
|
||||
}
|
||||
@@ -1253,6 +1258,7 @@ const saveSerialInvoice = async () => {
|
||||
address: itemInfo.value.address,
|
||||
project: itemInfo.value.project,
|
||||
paymentDays: itemInfo.value.paymentDays,
|
||||
payment_type: itemInfo.value.payment_type,
|
||||
deliveryDateType: "Leistungszeitraum",
|
||||
createdBy: itemInfo.value.createdBy,
|
||||
title: itemInfo.value.title,
|
||||
@@ -1340,6 +1346,7 @@ const saveDocument = async (state, resetup = false) => {
|
||||
deliveryDate: itemInfo.value.deliveryDate,
|
||||
deliveryDateEnd: itemInfo.value.deliveryDateEnd,
|
||||
paymentDays: itemInfo.value.paymentDays,
|
||||
payment_type: itemInfo.value.payment_type,
|
||||
deliveryDateType: itemInfo.value.deliveryDateType,
|
||||
info: {},
|
||||
createdBy: itemInfo.value.createdBy,
|
||||
@@ -1946,6 +1953,23 @@ const setRowData = async (row, service = {sellingPriceComposed: {}}, product = {
|
||||
v-model="itemInfo.paymentDays"
|
||||
/>
|
||||
</UFormGroup>
|
||||
<UFormGroup
|
||||
class="w-full"
|
||||
label="Zahlungsart:"
|
||||
>
|
||||
<USelectMenu
|
||||
v-model="itemInfo.payment_type"
|
||||
:options="[
|
||||
{
|
||||
key: 'transfer',
|
||||
label: 'Überweisung'
|
||||
},{
|
||||
key: 'direct-debit',
|
||||
label: 'SEPA Lastschrift'
|
||||
}
|
||||
]"
|
||||
/>
|
||||
</UFormGroup>
|
||||
<UFormGroup
|
||||
class="w-full"
|
||||
label="Individueller Aufschlag:"
|
||||
|
||||
Reference in New Issue
Block a user