@@ -29,7 +29,7 @@ |
||
| 29 | 29 | { |
| 30 | 30 | parent::boot(); |
| 31 | 31 | static::addGlobalScope(new InvoiceScope()); |
| 32 | - static::creating(function ($model) { |
|
| 32 | + static::creating(function($model) { |
|
| 33 | 33 | /** |
| 34 | 34 | * @var \Illuminate\Database\Eloquent\Model $model |
| 35 | 35 | */ |
@@ -16,7 +16,7 @@ |
||
| 16 | 16 | * @var array |
| 17 | 17 | */ |
| 18 | 18 | protected $fillable = [ |
| 19 | - 'related_id', 'related_type', 'tax', 'total', 'discount', 'currency', |
|
| 19 | + 'related_id', 'related_type', 'tax', 'total', 'discount', 'currency', |
|
| 20 | 20 | 'reference', 'status', 'receiver_info', 'sender_info', 'payment_info', 'note', 'is_bill' |
| 21 | 21 | ]; |
| 22 | 22 | |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | { |
| 29 | 29 | parent::boot(); |
| 30 | 30 | static::addGlobalScope(new BillScope()); |
| 31 | - static::creating(function ($model) { |
|
| 31 | + static::creating(function($model) { |
|
| 32 | 32 | /** |
| 33 | 33 | * @var \Illuminate\Database\Eloquent\Model $model |
| 34 | 34 | */ |