mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Vendor
This commit is contained in:
parent
17af1e2b9c
commit
eed8ee55a1
@ -5,6 +5,7 @@ use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class VendorWasArchived extends Event
|
||||
{
|
||||
// vendor
|
||||
use SerializesModels;
|
||||
|
||||
public $vendor;
|
||||
|
@ -5,6 +5,7 @@ use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class VendorWasCreated extends Event
|
||||
{
|
||||
// vendor
|
||||
use SerializesModels;
|
||||
|
||||
public $vendor;
|
||||
|
@ -5,6 +5,7 @@ use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class VendorWasDeleted extends Event
|
||||
{
|
||||
// vendor
|
||||
use SerializesModels;
|
||||
|
||||
public $vendor;
|
||||
|
@ -5,6 +5,7 @@ use Illuminate\Queue\SerializesModels;
|
||||
|
||||
class VendorWasRestored extends Event
|
||||
{
|
||||
// vendor
|
||||
use SerializesModels;
|
||||
|
||||
public $vendor;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace App\Events;
|
||||
|
||||
// vendor
|
||||
use App\Events\Event;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
// vendor
|
||||
use Auth;
|
||||
use DB;
|
||||
use Input;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
// vendor
|
||||
use Auth;
|
||||
use DB;
|
||||
use Datatable;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
// vendor
|
||||
use Utils;
|
||||
use Response;
|
||||
use Input;
|
||||
|
@ -25,7 +25,7 @@ use App\Services\VendorService;
|
||||
|
||||
use App\Http\Requests\CreateVendorRequest;
|
||||
use App\Http\Requests\UpdateVendorRequest;
|
||||
|
||||
// vendor
|
||||
class VendorController extends BaseController
|
||||
{
|
||||
protected $vendorService;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace app\Http\Requests;
|
||||
|
||||
// vendor
|
||||
use App\Http\Requests\Request;
|
||||
use Illuminate\Validation\Factory;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace app\Http\Requests;
|
||||
|
||||
// vendor
|
||||
use App\Http\Requests\Request;
|
||||
use Illuminate\Validation\Factory;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace app\Listeners;
|
||||
|
||||
// vendor
|
||||
use App\Events\VendorWasCreated;
|
||||
use App\Events\VendorWasDeleted;
|
||||
use App\Events\VendorWasArchived;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
// vendor
|
||||
use Auth;
|
||||
use Eloquent;
|
||||
use Utils;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
// vendor
|
||||
use HTML;
|
||||
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
@ -3,7 +3,7 @@
|
||||
use Utils;
|
||||
use Carbon;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
// vendor
|
||||
class VendorInvitation extends EntityModel
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
// vendor
|
||||
class VendorTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform($data)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
// vendor
|
||||
class VendorTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform($data)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
// vendor
|
||||
class VendorContactTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform($data)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
// vendor
|
||||
class VendorTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform($data)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
// vendor
|
||||
class VendorTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform($data)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
// vendor
|
||||
class VendorTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform($data)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
// vendor
|
||||
class VendorTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform($data)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
// vendor
|
||||
class VendorTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform($data)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
// vendor
|
||||
class VendorTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform($data)
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Ninja\Import\BaseTransformer;
|
||||
use League\Fractal\Resource\Item;
|
||||
|
||||
// vendor
|
||||
class VendorTransformer extends BaseTransformer
|
||||
{
|
||||
public function transform($data)
|
||||
|
@ -5,7 +5,7 @@ use Utils;
|
||||
use Event;
|
||||
use URL;
|
||||
use Auth;
|
||||
|
||||
// vendor
|
||||
use App\Models\VendorActivity;
|
||||
use App\Models\Gateway;
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use Utils;
|
||||
use Laracasts\Presenter\Presenter;
|
||||
|
||||
// vendor
|
||||
class VendorPresenter extends Presenter {
|
||||
|
||||
public function country()
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace App\Ninja\Repositories;
|
||||
|
||||
// vendor
|
||||
use DB;
|
||||
use Auth;
|
||||
use Utils;
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
use App\Models\Vendor;
|
||||
use App\Models\VendorContact;
|
||||
|
||||
// vendor
|
||||
class VendorContactRepository extends BaseRepository
|
||||
{
|
||||
public function save($data)
|
||||
|
@ -5,7 +5,7 @@ use App\Ninja\Repositories\BaseRepository;
|
||||
use App\Models\Vendor;
|
||||
use App\Models\VendorContact;
|
||||
use App\Models\Activity;
|
||||
|
||||
// vendor
|
||||
class VendorRepository extends BaseRepository
|
||||
{
|
||||
public function getClassName()
|
||||
|
@ -3,7 +3,7 @@
|
||||
use App\Models\Account;
|
||||
use App\Models\VendorContact;
|
||||
use League\Fractal;
|
||||
|
||||
// vendor
|
||||
class VendorContactTransformer extends EntityTransformer
|
||||
{
|
||||
public function transform(VendorContact $contact)
|
||||
|
@ -5,6 +5,7 @@ use App\Models\Vendor;
|
||||
use App\Models\Contact;
|
||||
use League\Fractal;
|
||||
|
||||
// vendor
|
||||
/**
|
||||
* @SWG\Definition(definition="Vendor", @SWG\Xml(name="Vendor"))
|
||||
*/
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php namespace App\Services;
|
||||
|
||||
// vendor
|
||||
use Utils;
|
||||
use App\Models\Vendor;
|
||||
use App\Services\BaseService;
|
||||
|
@ -6,7 +6,7 @@ use Auth;
|
||||
use App\Services\BaseService;
|
||||
use App\Ninja\Repositories\VendorRepository;
|
||||
use App\Ninja\Repositories\NinjaRepository;
|
||||
|
||||
// vendor
|
||||
class VendorService extends BaseService
|
||||
{
|
||||
protected $vendorRepo;
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
|
||||
// vendor
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
|
||||
// vendor
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
|
||||
// vendor
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
|
||||
// vendor
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
|
||||
{!!-- // vendor --!!}
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user