<flux:main>
    <div class="flex justify-between items-center">
        <div>
            <flux:heading size="xl">{{ $pageTitle }}</flux:heading>
        </div>
        @can('create order')
            <div>
                <flux:button href="{{ route('studio.manage.order.create') }}" variant="primary" wire:navigate.hover
                    class="text-sm">
                    Tambah
                </flux:button>
            </div>
        @endcan
    </div>

    <div class="mt-6">
        <livewire:datatable.studio.manage.orders-table />
    </div>

    @include('components.confirmation.delete')
</flux:main>
