You are here

function commerce_invoice_delete_multiple in Commerce Invoice 7

Deletes multiple invoices by ID.

Parameters

$invoice_ids: An array of invoice IDs to delete.

Return value

TRUE on success, FALSE otherwise.

1 call to commerce_invoice_delete_multiple()
commerce_invoice_delete in ./commerce_invoice.module
Deletes an invoice by ID.

File

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

Code

function commerce_invoice_delete_multiple($invoice_ids) {
  return entity_get_controller('commerce_invoice')
    ->delete($invoice_ids);
}