added datagrid table

This commit is contained in:
dhanabalan
2025-04-10 13:05:52 +05:30
parent 063e50da66
commit 57c3a876bd
6 changed files with 443 additions and 189 deletions

View File

@@ -1,7 +1,36 @@
<x-filament::page>
{{-- <x-filament::page>
<form wire:submit.prevent="create">
{{ $this->form }}
{{-- @livewire('invoice-data-table') --}}
<livewire:invoice-data-table :invoice-data="$invoice_data" />
<livewire:invoice-data-table :invoice-data="$invoice_data" />
<x-filament::actions class="mt-4">
@foreach ($this->getFormActions() as $action)
{{ $action }}
@endforeach
</x-filament::actions>
</x-filament::page> --}}
<x-filament::page>
<form wire:submit.prevent="create" class="space-y-6">
{{-- Form Section --}}
<div class="filament-form space-y-6">
{{ $this->form }}
</div>
{{-- Livewire Component (Invoice Table) --}}
<div class="bg-white shadow rounded-xl p-4">
<livewire:invoice-data-table :invoice-data="$invoice_data" />
</div>
{{-- Actions --}}
<div class="filament-actions mt-6">
<x-filament::actions>
@foreach ($this->getFormActions() as $action)
{{ $action }}
@endforeach
</x-filament::actions>
</div>
</form>
</x-filament::page>