fix: refs #8731 remove logs
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Carlos Satorres 2025-03-10 08:42:14 +01:00
parent 1c48a6d504
commit dc600a568b
1 changed files with 0 additions and 3 deletions

View File

@ -76,17 +76,14 @@ onBeforeMount(() => {
function setPaymentType(data, accounting) {
data.bankFk = accounting.id;
console.log('accounting: ', accounting);
if (!accounting) return;
accountingType.value = accounting.accountingType;
console.log('accountingType.value: ', accountingType.value);
data.description = [];
data.payed = Date.vnNew();
isCash.value = accountingType.value.code == 'cash';
viewReceipt.value = isCash.value;
if (accountingType.value.daysInFuture)
data.payed.setDate(data.payed.getDate() + accountingType.value.daysInFuture);
console.log('data.payed', data.payed);
maxAmount.value = accountingType.value && accountingType.value.maxAmount;
if (accountingType.value.code == 'compensation') return (data.description = '');