More fixes for invoice_to, fix PushNew on belongs to relations

This commit is contained in:
Deon George
2020-07-06 16:02:59 +10:00
parent 878277907a
commit b0f9d07af9
5 changed files with 20 additions and 11 deletions

View File

@@ -23,6 +23,9 @@ class InvoiceItem extends Model
protected $dates = ['date_start','date_stop'];
public $dateFormat = 'U';
// Array of items that can be updated with PushNew
protected $pushable = ['taxes'];
private $_tax = 0;
public function invoice()