Add rank management feature with CRUD and UI

Introduces a new rank management system including the Rank model, migrations for the ranks table and user IP address, Livewire components for managing and displaying ranks, and related Blade views. Updates navigation and routes to include the new 'Gestión Rangos' section, and enhances the ShareCodeComponent with user data. Also adds a reusable input field component for forms.
This commit is contained in:
Juan Felipe Duarte
2025-10-23 20:28:47 -05:00
parent aa67099449
commit a558e393f2
17 changed files with 522 additions and 6 deletions
+7
View File
@@ -7,6 +7,13 @@ use Livewire\Component;
class ShareCodeComponent extends Component
{
public $user;
public function mount()
{
$this->user = Auth::user();
}
public function render()
{
$referrals = Auth::user()->children()