renamed income/expense

This commit is contained in:
denisdulici
2019-12-31 15:49:09 +03:00
parent e2189158b9
commit 2428feb73b
235 changed files with 815 additions and 2147 deletions

View File

@ -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()