add more controllers and fix tests
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use App\Models\BaseModel;
|
||||
|
||||
class SupplyTransaction extends BaseModel
|
||||
{
|
||||
protected $table = 'supply_transactions';
|
||||
|
||||
protected $fillable = [
|
||||
'supply_id',
|
||||
'type',
|
||||
'quantity',
|
||||
'ref',
|
||||
'issued_to',
|
||||
'issued_by',
|
||||
'notes',
|
||||
];
|
||||
|
||||
protected $casts = [
|
||||
'supply_id' => 'integer',
|
||||
'quantity' => 'integer',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user