1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-20 08:21:34 +02:00

Support creating inline vendors and categories

This commit is contained in:
Hillel Coren 2017-03-02 18:08:28 +02:00
parent 5f478af9a4
commit 009de83e93

View File

@ -37,6 +37,7 @@ class ExpenseRequest extends EntityRequest
$vendor = app('App\Ninja\Repositories\VendorRepository')->save([
'name' => $this->vendor_name,
]);
// TODO change to private id once service is refactored
$input['vendor_id'] = $vendor->public_id;
}