working on loan orders
This commit is contained in:
@@ -31,6 +31,7 @@ class Branch extends Model
|
||||
'billing_username',
|
||||
'billing_password',
|
||||
'address',
|
||||
'active',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
13
app/Models/Order/Loan/LoanOrder.php
Normal file
13
app/Models/Order/Loan/LoanOrder.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Order\Loan;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class LoanOrder extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
use SoftDeletes;
|
||||
}
|
||||
33
app/Models/Order/Loan/LoanType.php
Normal file
33
app/Models/Order/Loan/LoanType.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Order\Loan;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Spatie\Translatable\HasTranslations;
|
||||
|
||||
class LoanType extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
use HasTranslations;
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array<int, string>
|
||||
*/
|
||||
protected $fillable = [
|
||||
'name',
|
||||
'tax',
|
||||
'maturity',
|
||||
'notes',
|
||||
'active',
|
||||
];
|
||||
|
||||
/**
|
||||
* Translatable fields
|
||||
*
|
||||
* @var array<string>
|
||||
*/
|
||||
public $translatable = ['name', 'notes'];
|
||||
}
|
||||
@@ -19,6 +19,7 @@ class Province extends Model
|
||||
protected $fillable = [
|
||||
'region',
|
||||
'name',
|
||||
'active',
|
||||
];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user