mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Working on Laravel 5.2
This commit is contained in:
parent
ea642ca089
commit
8572e9252c
@ -27,7 +27,7 @@ class AccountApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(AccountRepository $accountRepo)
|
public function __construct(AccountRepository $accountRepo)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->accountRepo = $accountRepo;
|
$this->accountRepo = $accountRepo;
|
||||||
}
|
}
|
||||||
|
@ -20,7 +20,7 @@ class ClientApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(ClientRepository $clientRepo, ClientService $clientService)
|
public function __construct(ClientRepository $clientRepo, ClientService $clientService)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->clientRepo = $clientRepo;
|
$this->clientRepo = $clientRepo;
|
||||||
$this->clientService = $clientService;
|
$this->clientService = $clientService;
|
||||||
|
@ -18,7 +18,7 @@ class ExpenseApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(ExpenseRepository $expenseRepo, ExpenseService $expenseService)
|
public function __construct(ExpenseRepository $expenseRepo, ExpenseService $expenseService)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->expenseRepo = $expenseRepo;
|
$this->expenseRepo = $expenseRepo;
|
||||||
$this->expenseService = $expenseService;
|
$this->expenseService = $expenseService;
|
||||||
|
@ -28,7 +28,7 @@ class InvoiceApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(InvoiceService $invoiceService, InvoiceRepository $invoiceRepo, ClientRepository $clientRepo, PaymentRepository $paymentRepo, Mailer $mailer)
|
public function __construct(InvoiceService $invoiceService, InvoiceRepository $invoiceRepo, ClientRepository $clientRepo, PaymentRepository $paymentRepo, Mailer $mailer)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->invoiceRepo = $invoiceRepo;
|
$this->invoiceRepo = $invoiceRepo;
|
||||||
$this->clientRepo = $clientRepo;
|
$this->clientRepo = $clientRepo;
|
||||||
|
@ -19,7 +19,7 @@ class PaymentApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(PaymentRepository $paymentRepo, ContactMailer $contactMailer)
|
public function __construct(PaymentRepository $paymentRepo, ContactMailer $contactMailer)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->paymentRepo = $paymentRepo;
|
$this->paymentRepo = $paymentRepo;
|
||||||
$this->contactMailer = $contactMailer;
|
$this->contactMailer = $contactMailer;
|
||||||
|
@ -25,7 +25,7 @@ class ProductApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(ProductService $productService, ProductRepository $productRepo)
|
public function __construct(ProductService $productService, ProductRepository $productRepo)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->productService = $productService;
|
$this->productService = $productService;
|
||||||
$this->productRepo = $productRepo;
|
$this->productRepo = $productRepo;
|
||||||
|
@ -15,7 +15,7 @@ class QuoteApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(InvoiceRepository $invoiceRepo)
|
public function __construct(InvoiceRepository $invoiceRepo)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->invoiceRepo = $invoiceRepo;
|
$this->invoiceRepo = $invoiceRepo;
|
||||||
}
|
}
|
||||||
|
@ -15,7 +15,7 @@ class TaskApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(TaskRepository $taskRepo)
|
public function __construct(TaskRepository $taskRepo)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->taskRepo = $taskRepo;
|
$this->taskRepo = $taskRepo;
|
||||||
}
|
}
|
||||||
|
@ -16,7 +16,7 @@ class TaxRateApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(TaxRateService $taxRateService, TaxRateRepository $taxRateRepo)
|
public function __construct(TaxRateService $taxRateService, TaxRateRepository $taxRateRepo)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->taxRateService = $taxRateService;
|
$this->taxRateService = $taxRateService;
|
||||||
$this->taxRateRepo = $taxRateRepo;
|
$this->taxRateRepo = $taxRateRepo;
|
||||||
|
@ -16,7 +16,7 @@ class UserApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(UserService $userService, UserRepository $userRepo)
|
public function __construct(UserService $userService, UserRepository $userRepo)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->userService = $userService;
|
$this->userService = $userService;
|
||||||
$this->userRepo = $userRepo;
|
$this->userRepo = $userRepo;
|
||||||
|
@ -16,7 +16,7 @@ class VendorApiController extends BaseAPIController
|
|||||||
|
|
||||||
public function __construct(VendorRepository $vendorRepo)
|
public function __construct(VendorRepository $vendorRepo)
|
||||||
{
|
{
|
||||||
//parent::__construct();
|
parent::__construct();
|
||||||
|
|
||||||
$this->vendorRepo = $vendorRepo;
|
$this->vendorRepo = $vendorRepo;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user