Added Revenue/Payment show page
This commit is contained in:
@ -371,11 +371,11 @@ class Transaction extends Model
|
||||
}
|
||||
|
||||
if ($this->isIncome()) {
|
||||
return !empty($this->document_id) ? 'invoices.show' : 'revenues.edit';
|
||||
return !empty($this->document_id) ? 'invoices.show' : 'revenues.show';
|
||||
}
|
||||
|
||||
if ($this->isExpense()) {
|
||||
return !empty($this->document_id) ? 'bills.show' : 'payments.edit';
|
||||
return !empty($this->document_id) ? 'bills.show' : 'payments.show';
|
||||
}
|
||||
|
||||
return 'transactions.index';
|
||||
|
Reference in New Issue
Block a user