generate report test

This commit is contained in:
SUM2046
2026-07-06 15:25:45 +05:30
parent 720752a781
commit a4a7b09c10
3 changed files with 223 additions and 0 deletions

42
Entities/Customer.php Normal file
View File

@@ -0,0 +1,42 @@
<?php
namespace Modules\DailySalePaymentReportModule\Entities;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Factories\HasFactory;
class Customer extends Model
{
use HasFactory;
protected $fillable = [
"customer_group_id",
"user_id",
"name",
"company_name",
"email",
"phone_number",
"tax_no",
"address",
"city",
"state",
"postal_code",
"country",
"customer_route",
"points",
"deposit",
"expense",
"is_active",
"credit_limit",
"document",
"employee_id",
"payable_account_id",
"receivable_account_id",
"customer_area_id"
];
protected static function newFactory()
{
return \Modules\DailySalePaymentReportModule\Database\factories\CustomerFactory::new();
}
}