Tax rate change workflow.

This commit is contained in:
cuneytsenturk
2018-11-06 17:55:31 +03:00
parent f3a7055682
commit 79ebd9d025
10 changed files with 176 additions and 62 deletions

View File

@ -212,6 +212,10 @@ class Invoice extends Model
*/
public function getPaidAttribute()
{
if (empty($this->amount)) {
return false;
}
$paid = 0;
$reconciled = $reconciled_amount = 0;