Payabel Facade
user
Returns User model for payable class
fiscal
Returns current active fiscal
currentYear
Return current native year
isLeapYear
Return if the given year is a leap year or not.
receipt_no
Returns payment receipt no structure
credit
credit(?Carbon $date = null): float
Returns payment credit total
debit
debit(?Carbon $date = null): float
Returns payment debit total
balance
balance(?Carbon $date = null): float
Returns payment balance total
auditByLastDays
auditByLastDays($limit = 7, $date_format = 'Y-m-d'): array
Returns credit, debit, and balance of each last $limit
days
auditByLastMonths
auditByLastMonths(int $limit = 12, string $date_format = 'Y-m'): array
Returns credit, debit, and balance of each last $limit
month
auditByFiscal
auditByFiscal(?Fiscal $fiscal): array
Returns credit, debit, and balance of given fiscal
auditByFiscalMonth
auditByFiscalMonth(?Fiscal $fiscal = null): array
Returns credit, debit, and balance of given fiscal by fiscal duration month
Last updated