Advertisement
Guest User

Untitled

a guest
Sep 2nd, 2015
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. <?php // don't include this in your functions.php
  2.  
  3. function si_set_default_terms_notes( SI_Invoice $invoice ) {
  4. $invoice->set_terms( SI_Invoices_Edit::get_default_terms() );
  5. $invoice->set_notes( SI_Invoices_Edit::get_default_notes() );
  6. }
  7. add_action( 'si_create_invoice_on_est_acceptance', 'si_set_default_terms_notes' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement