|
dolibarr 21.0.0-beta
|
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. | |
| invoice_admin_prepare_head () | |
| Return array head with list of tabs to view object information. | |
| invoice_rec_prepare_head ($object) | |
| Return array head with list of tabs to view object information. | |
| supplier_invoice_rec_prepare_head ($object) | |
| Return array head with list of tabs to view object information. | |
| getNumberInvoicesPieChart ($mode) | |
| Return an HTML table that contains a pie chart of the number of customers or supplier invoices. | |
| getCustomerInvoiceDraftTable ($maxCount=500, $socid=0) | |
| Return a HTML table that contains a list with customer invoice drafts. | |
| getDraftSupplierTable ($maxCount=500, $socid=0) | |
| Return a HTML table that contains a list with customer invoice drafts. | |
| getCustomerInvoiceLatestEditTable ($maxCount=5, $socid=0) | |
| Return a HTML table that contains a list with latest edited customer invoices. | |
| getPurchaseInvoiceLatestEditTable ($maxCount=5, $socid=0) | |
| Return a HTML table that contains a list with latest edited supplier invoices. | |
| getCustomerInvoiceUnpaidOpenTable ($maxCount=500, $socid=0) | |
| Return a HTML table that contains of unpaid customers invoices. | |
| getPurchaseInvoiceUnpaidOpenTable ($maxCount=500, $socid=0) | |
| Return a HTML table that contains of unpaid purchase invoices. | |
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 38 of file invoice.lib.php.
References $conf, $object, complete_head_from_modules(), Link\count(), dol_dir_list(), dol_getcache(), dol_print_error(), dol_sanitizeFileName(), dol_setcache(), dol_syslog(), and getDolGlobalString().
| 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 565 of file invoice.lib.php.
References $conf, dol_print_error(), getDolGlobalString(), 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 852 of file invoice.lib.php.
References $conf, 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 1075 of file invoice.lib.php.
References $conf, dol_print_date(), dol_print_error(), dol_sanitizeFileName(), getDolGlobalString(), img_warning(), 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 716 of file invoice.lib.php.
References $conf, dol_print_error(), getDolGlobalString(), 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 419 of file invoice.lib.php.
References $conf, dol_now(), dol_print_error(), and getDolGlobalInt().
| 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 961 of file invoice.lib.php.
References $conf, dol_print_date(), 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 1264 of file invoice.lib.php.
References $conf, dol_print_error(), getDolGlobalString(), price(), and FactureFournisseur\STATUS_VALIDATED.
| invoice_admin_prepare_head | ( | ) |
Return array head with list of tabs to view object information.
Definition at line 169 of file invoice.lib.php.
References $conf, complete_head_from_modules(), and getDolGlobalInt().
| invoice_rec_prepare_head | ( | $object | ) |
Return array head with list of tabs to view object information.
| FactureRec | $object | Invoice model object |
Definition at line 253 of file invoice.lib.php.
References $conf, $object, complete_head_from_modules(), dol_getcache(), dol_setcache(), dol_syslog(), and getDolGlobalString().
| supplier_invoice_rec_prepare_head | ( | $object | ) |
Return array head with list of tabs to view object information.
| Facture | FactureFournisseurRec | $object | Invoice object |
Definition at line 353 of file invoice.lib.php.
References $conf, $object, complete_head_from_modules(), dol_syslog(), and getDolGlobalString().