Exemplo n.º 1
0
 /**
  * Touch Invoice
  *
  * When a line item is added to an Invoice we must "touch" the Invoice to make
  * sure it's oustanding flag gets set properly.
  */
 function touchInvoice()
 {
     $invoicedbo = load_InvoiceDBO($this->invoiceid);
     update_InvoiceDBO($invoicedbo);
 }
Exemplo n.º 2
0
 /**
  * Touch Invoice
  *
  * When a line item is added to an Invoice we must "touch" the Invoice to make
  * sure it's oustanding flag gets set properly.
  */
 function touchInvoice()
 {
     if (!($this->invoiceid > 0)) {
         // No invoice to touch!
         return;
     }
     // Update the invoice record
     $invoicedbo = load_InvoiceDBO($this->invoiceid);
     update_InvoiceDBO($invoicedbo);
 }