@extends('layouts.blesser.app') @section('content')
@session('success') {{ session('success') }} @endsession
@auth

{{ __('Submission Form') }}

@php $preInvoices = \App\Models\PreInvoice::with('items') ->where('creator_id', auth()->id()) ->latest() ->paginate(10); $preInvoiceId = request()->get('pre-invoice', null); $preInvoice = $preInvoiceId !== null ? auth()->user()->preInvoices()->where('id', $preInvoiceId)->first() : null; @endphp
@if ($preInvoice !== null) @else
{{ __('No pre-invoice selected.') }}
@endif
@endauth @guest
{{ __('for submitting a pre invoice please login to your account') }} | {{ __('login') }}
@endguest
@endsection