mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 13:14:30 -04: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([
|
$vendor = app('App\Ninja\Repositories\VendorRepository')->save([
|
||||||
'name' => $this->vendor_name,
|
'name' => $this->vendor_name,
|
||||||
]);
|
]);
|
||||||
|
// TODO change to private id once service is refactored
|
||||||
$input['vendor_id'] = $vendor->public_id;
|
$input['vendor_id'] = $vendor->public_id;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user