<?php
 $CFG['invoices']['serviceFinStatusTolerance']=0.000099; $CFG['invoices']['allowRoundingByRowType']['advance']=true; $CFG['invoices']['allowRoundingByRowType']['price']=true; $CFG['invoices']['allowRoundingByRowType']['serviceFee']=true; $CFG['invoices']['allowRoundingByRowType']['commission']=true; $CFG['invoices']['allowRoundingByRowType']['discount']=true; $CFG['invoices']['allowRoundingByRowType']['tax']=true; $CFG['invoices']['allowRoundingByRowType']['penalty']=true; $CFG['invoiceCashing']['statusTolerancePercent']=0.0005; $CFG['invoices']['defaultFulfillmentDate']='servicesEndDate'; $CFG['supplierInvoicePayment']['statusTolerancePercent']=0.0001; $CFG['corporateCollectionProfiles']['attachmentsList'] = ['DefaultXlsx', 'ExtendedXlsx']; $CFG['corporateCollectionProfiles']['variablesList'] = ['overdueTotalDefCurr', 'dueInDaysTotalDefCurr', 'overdueTotalOrgCurr', 'dueInDaysTotalOrgCurr', 'overdueInvoicesMinDate', 'overdueInvoicesMaxDate', 'importedDocumentsBalanceDefCurr', 'corporateFullName', 'corporateAlias']; $CFG['customerCollectionProfiles']['variablesList'] = [ 'invoiceId', 'invoiceNumber', 'invoiceSeries', 'invoiceDateIso', 'invoiceDate', 'invoiceDueDateIso', 'invoiceDueDate', 'invoiceDueInDays', 'invoiceOverdueDays', 'invoiceCurrency', 'invoiceTotalInvCurr', 'invoiceCashedInvCurr', 'invoiceNotCashedInvCurr', 'customerLastName', 'customerFirstName', 'customerTitle', 'customerEmail' ]; $CFG['cashBook']['documentTypes']['cashing']= [ 'receipt'=> ['active'=>true, 'includeInCashbook'=>true], 'cashReceiveDocument'=> ['active'=>true, 'includeInCashbook'=>true], 'bankWithdrawl'=> ['active'=>true, 'includeInCashbook'=>true], 'adjustment'=> ['active'=>true, 'includeInCashbook'=>true], 'exchRateDifference'=> ['active'=>false, 'includeInCashbook'=>true], 'depreciation'=> ['active'=>false, 'includeInCashbook'=>true], 'credit'=> ['active'=>false, 'includeInCashbook'=>true], 'cheque'=> ['active'=>false, 'includeInCashbook'=>false], 'cashDepositFromBank'=> ['active'=>true, 'includeInCashbook'=>true], 'travelVoucher'=> ['active'=>false, 'includeInCashbook'=>false], 'giftVoucher'=> ['active'=>false, 'includeInCashbook'=>false], 'user2user'=> ['active'=>false, 'includeInCashbook'=>false], ]; $CFG['cashBook']['documentTypes']['payment']= [ 'receipt'=> ['active'=>true, 'includeInCashbook'=>true], 'cashOut'=> ['active'=>false, 'includeInCashbook'=>true], 'cashReturnDocument'=> ['active'=>true, 'includeInCashbook'=>true], 'fiscalTicket'=> ['active'=>true, 'includeInCashbook'=>true], 'cashOrder'=> ['active'=>true, 'includeInCashbook'=>true], 'paymentPaper'=> ['active'=>true, 'includeInCashbook'=>true], 'adjustment'=> ['active'=>true, 'includeInCashbook'=>true], 'exchRateDifference'=> ['active'=>false, 'includeInCashbook'=>true], 'depreciation'=> ['active'=>false, 'includeInCashbook'=>true], 'credit'=> ['active'=>false, 'includeInCashbook'=>true], 'settlement'=> ['active'=>false, 'includeInCashbook'=>true], 'cheque'=> ['active'=>false, 'includeInCashbook'=>false], 'bankDepositFromCash'=> ['active'=>true, 'includeInCashbook'=>true], 'travelVoucher'=> ['active'=>false, 'includeInCashbook'=>false], 'giftVoucher'=> ['active'=>false, 'includeInCashbook'=>false], 'user2user'=> ['active'=>false, 'includeInCashbook'=>false], ]; $CFG['generateInvoice']['visualStructure']['invoiceTop']['boxLeft']="supplierAndInvoice"; $CFG['generateInvoice']['visualStructure']['invoiceTop']['boxTop']="supplier"; $CFG['invoices']['compareServiceCurrencyDateWithInvoiceDate']=true; $CFG['balances']['supplierInvoiceConfirmed']=false; 