renamed income/expense
This commit is contained in:
@ -24,7 +24,7 @@ class Category extends Model
|
||||
|
||||
public function bills()
|
||||
{
|
||||
return $this->hasMany('App\Models\Expense\Bill');
|
||||
return $this->hasMany('App\Models\Purchase\Bill');
|
||||
}
|
||||
|
||||
public function expense_transactions()
|
||||
@ -39,7 +39,7 @@ class Category extends Model
|
||||
|
||||
public function invoices()
|
||||
{
|
||||
return $this->hasMany('App\Models\Income\Invoice');
|
||||
return $this->hasMany('App\Models\Sale\Invoice');
|
||||
}
|
||||
|
||||
public function items()
|
||||
|
@ -30,7 +30,7 @@ class Currency extends Model
|
||||
|
||||
public function bills()
|
||||
{
|
||||
return $this->hasMany('App\Models\Expense\Bill', 'currency_code', 'code');
|
||||
return $this->hasMany('App\Models\Purchase\Bill', 'currency_code', 'code');
|
||||
}
|
||||
|
||||
public function contacts()
|
||||
@ -55,7 +55,7 @@ class Currency extends Model
|
||||
|
||||
public function invoices()
|
||||
{
|
||||
return $this->hasMany('App\Models\Income\Invoice', 'currency_code', 'code');
|
||||
return $this->hasMany('App\Models\Sale\Invoice', 'currency_code', 'code');
|
||||
}
|
||||
|
||||
public function transactions()
|
||||
|
@ -37,12 +37,12 @@ class Tax extends Model
|
||||
|
||||
public function bill_items()
|
||||
{
|
||||
return $this->hasMany('App\Models\Expense\BillItemTax');
|
||||
return $this->hasMany('App\Models\Purchase\BillItemTax');
|
||||
}
|
||||
|
||||
public function invoice_items()
|
||||
{
|
||||
return $this->hasMany('App\Models\Income\InvoiceItemTax');
|
||||
return $this->hasMany('App\Models\Sale\InvoiceItemTax');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user