Skip to content

Instantly share code, notes, and snippets.

@jorijn
Created November 30, 2012 07:49
Show Gist options
  • Save jorijn/4174387 to your computer and use it in GitHub Desktop.
Save jorijn/4174387 to your computer and use it in GitHub Desktop.
Bijgewerkte Moneybird API voorbeeld code (namespace toegevoegd)
if (isset($_POST['opmerkingen']) && !empty($_POST['opmerkingen']))
{
$note = new Moneybird\Invoice_History(array(
'description' => 'Opmerking vanaf de website: '.$_POST['opmerkingen'],
));
$note->save($invoiceService, $invoice);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment