Files
api_arrahn/app/PayableUjrahBranch.php
Afiq Hamzah 87515f010a 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
2024-05-20 10:33:50 +08:00

21 lines
396 B
PHP

<?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');
}
}