feat: Implement UUID-based customer routing, enhance order request validation, and refactor VM creation job with updated payment logic and ModuleVmware handling.

This commit is contained in:
pbao9
2026-03-12 16:30:02 +07:00
parent 508d5186db
commit dbd3cdafcd
11 changed files with 207 additions and 283 deletions
+6
View File
@@ -50,6 +50,12 @@ class Invoice extends Model
return $this->hasMany(Service::class, 'invoice_id');
}
public function payment()
{
return $this->belongsTo(Payment::class, 'payment_method', 'id');
}
// -------------------------------------------------------------------------
// Helpers
// -------------------------------------------------------------------------