<x-app-layout>
    <x-slot name="header">
            {{ __('Transaction Statement') }}
    </x-slot>

    <div class="py-6">
        <div class="max-w-7xl mx-auto sm:px-6 lg:px-8">
            <div class="bg-white overflow-hidden shadow-xl sm:rounded-lg">
                <div class="p-6 sm:px-20 bg-white ">

                    <div class="mt-3 lg:mt-6 text-2xl font-semibold text-gray-900">
                       {{ __('Transaction # ') }} {{ $transactionId }}
                    </div>

                    <div class="mt-6 mb-12 text-gray-500">
                        @livewire('side-post', [
                            'type' => 'SiteContents\Statement' ?? null, 
                            'random' => false,
                            'fallbackTitle' => '',
                            'fallbackDescription' => '' ]) 
                        </div>

                    <!--- Transaction table -->
                    @livewire('single-transaction-table', ['transactionId' => $transactionId])

                </div>
            </div>
        </div>
</x-app-layout>
