mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Update or Create product
This commit is contained in:
parent
3d67483607
commit
a3acc6a019
@ -57,7 +57,7 @@ class UpdateOrCreateProduct implements ShouldQueue
|
|||||||
public function handle()
|
public function handle()
|
||||||
{
|
{
|
||||||
MultiDB::setDB($this->company->db);
|
MultiDB::setDB($this->company->db);
|
||||||
|
|
||||||
//only update / create products - not tasks or gateway fees
|
//only update / create products - not tasks or gateway fees
|
||||||
$updateable_products = collect($this->products)->filter(function ($item) {
|
$updateable_products = collect($this->products)->filter(function ($item) {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user