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:
parent
5f478af9a4
commit
009de83e93
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user