Tax rate change workflow.
This commit is contained in:
@@ -212,6 +212,10 @@ class Invoice extends Model
|
||||
*/
|
||||
public function getPaidAttribute()
|
||||
{
|
||||
if (empty($this->amount)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$paid = 0;
|
||||
$reconciled = $reconciled_amount = 0;
|
||||
|
||||
|
@@ -21,7 +21,7 @@ class Tax extends Model
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['company_id', 'name', 'rate', 'calculate', 'compound', 'enabled'];
|
||||
protected $fillable = ['company_id', 'name', 'rate', 'type', 'enabled'];
|
||||
|
||||
/**
|
||||
* Sortable columns.
|
||||
|
Reference in New Issue
Block a user