Add module to enable or disable ujrah type payment
- Added migration to create table to store the parameter values - Added ability to determine if branch is using calculation method v1 or v2 - Added API to enable client to get the payability of the ujrah payment and also change the parameter itself
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace App;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\Relations\BelongsTo;
|
||||
|
||||
class PayableUjrahBranch extends Model
|
||||
{
|
||||
protected $fillable = [
|
||||
'details_caw',
|
||||
'kodcaw',
|
||||
'gadaian_ujrah_payable',
|
||||
];
|
||||
|
||||
public function cawangan_information()
|
||||
{
|
||||
return $this->belongsTo(Cawangan::class, 'kodcaw', 'kodcaw');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user