Created
November 30, 2012 07:49
-
-
Save jorijn/4174387 to your computer and use it in GitHub Desktop.
Bijgewerkte Moneybird API voorbeeld code (namespace toegevoegd)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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