Add Module Branch and Currency

This commit is contained in:
Daeng Deni Mardaeni
2024-10-29 10:49:23 +07:00
parent 750ee4aec4
commit a67bb63a62
17 changed files with 1141 additions and 16 deletions

10
app/Models/Branch.php Normal file
View File

@@ -0,0 +1,10 @@
<?php
namespace Modules\Basicdata\Models;
class Branch extends Base
{
protected $table = 'branches';
protected $fillable = ['code', 'name', 'status', 'authorized_at', 'authorized_status', 'authorized_by'];
}

18
app/Models/Currency.php Normal file
View File

@@ -0,0 +1,18 @@
<?php
namespace Modules\Basicdata\Models;
class Currency extends Base
{
protected $table = 'currencies';
protected $fillable = [
'code',
'name',
'decimal_places',
'status',
'authorized_at',
'authorized_status',
'authorized_by'
];
}