Giant Update

This commit is contained in:
Wian Drs
2026-07-31 13:57:11 +07:00
parent f68d967c8b
commit b0d08211ec
112 changed files with 6674 additions and 3 deletions
+30
View File
@@ -0,0 +1,30 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class BillingProfile extends Model
{
protected $guarded = ['id'];
protected function casts(): array
{
return ['tax_rate' => 'decimal:2'];
}
public function tenant()
{
return $this->belongsTo(Tenant::class);
}
public function customers()
{
return $this->hasMany(Customer::class);
}
public function invoices()
{
return $this->hasMany(Invoice::class);
}
}