|
dolibarr
16.0.1
|
Functions used by invoice module. More...
Go to the source code of this file.
Functions | |
| facture_prepare_head ($object) | |
| Initialize the array of tabs for customer invoice. More... | |
| invoice_admin_prepare_head () | |
| Return array head with list of tabs to view object informations. More... | |
| invoice_rec_prepare_head ($object) | |
| Return array head with list of tabs to view object informations. More... | |
| supplier_invoice_rec_prepare_head ($object) | |
| Return array head with list of tabs to view object informations. More... | |
| getNumberInvoicesPieChart ($mode) | |
| Return an HTML table that contains a pie chart of the number of customers or supplier invoices. More... | |
| getCustomerInvoiceDraftTable ($maxCount=500, $socid=0) | |
| Return a HTML table that contains a list with customer invoice drafts. More... | |
| getDraftSupplierTable ($maxCount=500, $socid=0) | |
| Return a HTML table that contains a list with customer invoice drafts. More... | |
| getCustomerInvoiceLatestEditTable ($maxCount=5, $socid=0) | |
| Return a HTML table that contains a list with latest edited customer invoices. More... | |
| getPurchaseInvoiceLatestEditTable ($maxCount=5, $socid=0) | |
| Return a HTML table that contains a list with latest edited supplier invoices. More... | |
| getCustomerInvoiceUnpaidOpenTable ($maxCount=500, $socid=0) | |
| Return a HTML table that contains of unpaid customers invoices. More... | |
| getPurchaseInvoiceUnpaidOpenTable ($maxCount=500, $socid=0) | |
| Return a HTML table that contains of unpaid purchase invoices. More... | |
Functions used by invoice module.
Definition in file invoice.lib.php.
| facture_prepare_head | ( | $object | ) |
Initialize the array of tabs for customer invoice.
| Facture | $object | Invoice object |
Definition at line 36 of file invoice.lib.php.
References $resql, complete_head_from_modules(), Link\count(), dol_dir_list(), dol_print_error(), and dol_sanitizeFileName().
| getCustomerInvoiceDraftTable | ( | $maxCount = 500, |
|
$socid = 0 |
|||
| ) |
Return a HTML table that contains a list with customer invoice drafts.
| int | $maxCount | (Optional) The maximum count of elements inside the table |
| int | $socid | (Optional) Show only results from the customer with this id |
Definition at line 393 of file invoice.lib.php.
References $resql, dol_print_error(), and Facture\STATUS_DRAFT.
| getCustomerInvoiceLatestEditTable | ( | $maxCount = 5, |
|
$socid = 0 |
|||
| ) |
Return a HTML table that contains a list with latest edited customer invoices.
| int | $maxCount | (Optional) The maximum count of elements inside the table |
| int | $socid | (Optional) Show only results from the customer with this id |
Definition at line 670 of file invoice.lib.php.
References $resql, dol_print_error(), and dol_sanitizeFileName().
| getCustomerInvoiceUnpaidOpenTable | ( | $maxCount = 500, |
|
$socid = 0 |
|||
| ) |
Return a HTML table that contains of unpaid customers invoices.
| int | $maxCount | (Optional) The maximum count of elements inside the table |
| int | $socid | (Optional) Show only results from the supplier with this id |
Definition at line 886 of file invoice.lib.php.
References $resql, dol_print_date(), dol_print_error(), dol_sanitizeFileName(), img_warning(), isModEnabled(), price(), and Facture\STATUS_VALIDATED.
| getDraftSupplierTable | ( | $maxCount = 500, |
|
$socid = 0 |
|||
| ) |
Return a HTML table that contains a list with customer invoice drafts.
| int | $maxCount | (Optional) The maximum count of elements inside the table |
| int | $socid | (Optional) Show only results from the customer with this id |
Definition at line 540 of file invoice.lib.php.
References $resql, dol_print_error(), and FactureFournisseur\STATUS_DRAFT.
| getNumberInvoicesPieChart | ( | $mode | ) |
Return an HTML table that contains a pie chart of the number of customers or supplier invoices.
| string | $mode | Can be 'customers' or 'suppliers' |
Definition at line 256 of file invoice.lib.php.
References $resql, dol_now(), dol_print_error(), and isModEnabled().
| getPurchaseInvoiceLatestEditTable | ( | $maxCount = 5, |
|
$socid = 0 |
|||
| ) |
Return a HTML table that contains a list with latest edited supplier invoices.
| int | $maxCount | (Optional) The maximum count of elements inside the table |
| int | $socid | (Optional) Show only results from the supplier with this id |
Definition at line 778 of file invoice.lib.php.
References $resql, dol_print_error(), and dol_sanitizeFileName().
| getPurchaseInvoiceUnpaidOpenTable | ( | $maxCount = 500, |
|
$socid = 0 |
|||
| ) |
Return a HTML table that contains of unpaid purchase invoices.
| int | $maxCount | (Optional) The maximum count of elements inside the table |
| int | $socid | (Optional) Show only results from the supplier with this id |
Definition at line 1074 of file invoice.lib.php.
References $resql, dol_print_error(), price(), and FactureFournisseur\STATUS_VALIDATED.
| invoice_admin_prepare_head | ( | ) |
Return array head with list of tabs to view object informations.
Definition at line 136 of file invoice.lib.php.
References complete_head_from_modules().
| invoice_rec_prepare_head | ( | $object | ) |
Return array head with list of tabs to view object informations.
| Facture | $object | Invoice object |
Definition at line 198 of file invoice.lib.php.
References complete_head_from_modules().
| supplier_invoice_rec_prepare_head | ( | $object | ) |
Return array head with list of tabs to view object informations.
| Facture | $object | Invoice object |
Definition at line 227 of file invoice.lib.php.
References complete_head_from_modules().