mirror of
				https://github.com/invoiceninja/invoiceninja.git
				synced 2025-11-03 23:27:31 -05:00 
			
		
		
		
	Update Namespaces
This commit is contained in:
		
							parent
							
								
									f461d68114
								
							
						
					
					
						commit
						f6b0cda9ec
					
				@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php  namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Account extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class AccountGateway extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class AccountGatewayToken extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class AccountToken extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Activity extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Affiliate extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Client extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Contact extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Country extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Credit extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Currency extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class DateFormat extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class DatetimeFormat extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class EntityModel extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Frequency extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Gateway extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Industry extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Invitation extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Invoice extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class InvoiceDesign extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class InvoiceItem extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class InvoiceStatus extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Language extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class License extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Payment extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class PaymentLibrary extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class PaymentTerm extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class PaymentType extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Product extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,7 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
use Auth;
 | 
			
		||||
use Utils;
 | 
			
		||||
 | 
			
		||||
class Project extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,7 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
use Auth;
 | 
			
		||||
use Utils;
 | 
			
		||||
 | 
			
		||||
class ProjectCode extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Size extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Subscription extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class TaxRate extends EntityModel
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Theme extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Timesheet extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,7 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
use Auth;
 | 
			
		||||
use Utils;
 | 
			
		||||
 | 
			
		||||
class TimesheetEvent extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,7 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
use Auth;
 | 
			
		||||
use Utils;
 | 
			
		||||
 | 
			
		||||
class TimesheetEventSource extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,4 +1,4 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
class Timezone extends Eloquent
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
@ -1,28 +1,17 @@
 | 
			
		||||
<?php
 | 
			
		||||
<?php namespace App\Models;
 | 
			
		||||
 | 
			
		||||
use Illuminate\Auth\UserInterface;
 | 
			
		||||
use Illuminate\Auth\Reminders\RemindableInterface;
 | 
			
		||||
use Zizaco\Confide\ConfideUser;
 | 
			
		||||
use Illuminate\Auth\Authenticatable;
 | 
			
		||||
use Illuminate\Database\Eloquent\Model;
 | 
			
		||||
use Illuminate\Auth\Passwords\CanResetPassword;
 | 
			
		||||
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
 | 
			
		||||
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
 | 
			
		||||
 | 
			
		||||
class User extends Model implements AuthenticatableContract, CanResetPasswordContract {
 | 
			
		||||
 | 
			
		||||
    use Authenticatable, CanResetPassword;
 | 
			
		||||
 | 
			
		||||
class User extends ConfideUser implements UserInterface, RemindableInterface
 | 
			
		||||
{
 | 
			
		||||
    protected $softDelete = true;
 | 
			
		||||
 | 
			
		||||
    public static $rules = array(
 | 
			
		||||
        /*
 | 
			
		||||
    	'username' => 'required|unique:users',
 | 
			
		||||
        'password' => 'required|between:6,32|confirmed',
 | 
			
		||||
        'password_confirmation' => 'between:6,32',
 | 
			
		||||
        */
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    protected $updateRules = array(
 | 
			
		||||
        /*
 | 
			
		||||
        'email' => 'required|unique:users',
 | 
			
		||||
        'username' => 'required|unique:users',
 | 
			
		||||
        */
 | 
			
		||||
    );
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * The database table used by the model.
 | 
			
		||||
     *
 | 
			
		||||
@ -30,6 +19,22 @@ class User extends ConfideUser implements UserInterface, RemindableInterface
 | 
			
		||||
     */
 | 
			
		||||
    protected $table = 'users';
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * The attributes that are mass assignable.
 | 
			
		||||
     *
 | 
			
		||||
     * @var array
 | 
			
		||||
     */
 | 
			
		||||
    protected $fillable = ['email', 'password','agency_id'];
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * The attributes excluded from the model's JSON form.
 | 
			
		||||
     *
 | 
			
		||||
     * @var array
 | 
			
		||||
     */
 | 
			
		||||
    protected $hidden = ['password', 'remember_token'];
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    public function account()
 | 
			
		||||
    {
 | 
			
		||||
        return $this->belongsTo('Account');
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user