removed invoice/bill status tables

This commit is contained in:
denisdulici
2020-01-11 16:57:32 +03:00
parent b5519004a0
commit 08eb8e75fc
69 changed files with 250 additions and 470 deletions

View File

@ -17,15 +17,10 @@ class BillHistory extends Model
*
* @var array
*/
protected $fillable = ['company_id', 'bill_id', 'status_code', 'notify', 'description'];
protected $fillable = ['company_id', 'bill_id', 'status', 'notify', 'description'];
public function bill()
{
return $this->belongsTo('App\Models\Purchase\Bill');
}
public function status()
{
return $this->belongsTo('App\Models\Purchase\BillStatus', 'status_code', 'code');
}
}