mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on products api
This commit is contained in:
parent
b93cd84052
commit
63894e0f24
@ -33,6 +33,8 @@ class ProductApiController extends BaseAPIController
|
|||||||
//$products = $products
|
//$products = $products
|
||||||
|
|
||||||
$products = Product::scope()->withTrashed();
|
$products = Product::scope()->withTrashed();
|
||||||
|
$products = $products->paginate();
|
||||||
|
|
||||||
$paginator = Product::scope()->withTrashed()->paginate();
|
$paginator = Product::scope()->withTrashed()->paginate();
|
||||||
|
|
||||||
$transformer = new ProductTransformer(\Auth::user()->account, $this->serializer);
|
$transformer = new ProductTransformer(\Auth::user()->account, $this->serializer);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user