You are here

constant COMMERCE_INVOICE_METHOD_YEAR in Commerce Invoice 7

2 uses of COMMERCE_INVOICE_METHOD_YEAR
CommerceInvoiceEntityController::generate_invoice_id in includes/commerce_invoice.controller.inc
Generates invoice id
commerce_invoice_settings_form in includes/commerce_invoice_ui.invoices.inc
Form callback: edit the global invoice settings.

File

./commerce_invoice.module, line 15
Generates the invoice and allows you to display an invoice id in views

Code

define('COMMERCE_INVOICE_METHOD_YEAR', 'Y-[invoice_id]');