mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
Add credit support to the API
This commit is contained in:
parent
7cfcaa72ec
commit
72db373a41
@ -83,7 +83,7 @@ class APICest
|
|||||||
$this->listEntities('vendors');
|
$this->listEntities('vendors');
|
||||||
|
|
||||||
$data = new stdClass;
|
$data = new stdClass;
|
||||||
$data->client_id = $clientId
|
$data->client_id = $clientId;
|
||||||
$data->amount = 1;
|
$data->amount = 1;
|
||||||
$this->createEntity('credit', $data);
|
$this->createEntity('credit', $data);
|
||||||
$this->listEntities('credits');
|
$this->listEntities('credits');
|
||||||
|
Loading…
Reference in New Issue
Block a user