mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix quote api controller
This commit is contained in:
parent
7dc40a3388
commit
be041629a3
@ -6,19 +6,12 @@ use App\Models\Invoice;
|
|||||||
use App\Ninja\Repositories\InvoiceRepository;
|
use App\Ninja\Repositories\InvoiceRepository;
|
||||||
use Response;
|
use Response;
|
||||||
|
|
||||||
class QuoteApiController extends InvoiceAPIController
|
class QuoteApiController extends InvoiceApiController
|
||||||
{
|
{
|
||||||
protected $invoiceRepo;
|
protected $invoiceRepo;
|
||||||
|
|
||||||
protected $entityType = ENTITY_INVOICE;
|
protected $entityType = ENTITY_INVOICE;
|
||||||
|
|
||||||
public function __construct(InvoiceRepository $invoiceRepo)
|
|
||||||
{
|
|
||||||
parent::__construct();
|
|
||||||
|
|
||||||
$this->invoiceRepo = $invoiceRepo;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @SWG\Get(
|
* @SWG\Get(
|
||||||
* path="/quotes",
|
* path="/quotes",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user