<div class="modal fade px-2" id="viewModal" tabindex="-1" role="dialog" aria-labelledby="editModalCenterTitle" aria-hidden="true" data-backdrop="static"data-keyboard="false">
    <div class="modal-dialog modal-lg modal-dialog-centered" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="editModalCenterTitle">@lang('quickadmin.qa_view')</h5>
                <button type="button" class="close" data-dismiss="modal" aria-label="Close">
                <span aria-hidden="true">&times;</span>
                </button>
            </div>
            <div class="modal-body floatingLabel">
                <ul class="dataShowing">
                    <li>
                        <label>@lang('quickadmin.cash-management.fields.staff_name')</label>
                        <span class="text-capitalize" field-key='entry_date'>{{  $cashManagement->user->name??'' }}</span>
                    </li>
                    <li>
                        <label>@lang('quickadmin.order.fields.invoice_date')</label>
                        <span class="text-capitalize" field-key='entry_date'>{{ $cashManagement->entry_date }}</span>
                    </li>
                    <li>
                        <label>@lang('quickadmin.transaction.fields.voucher_number')</label>
                        <span class="text-capitalize" field-key='voucher_number'>#{{ $cashManagement->voucher_number ?? '' }}</span>
                    </li>
                    
                    <li>
                        <label>@lang('quickadmin.transaction.fields.payment_way')</label>
                        <span class="text-capitalize" field-key='payment_way'>{{ config('constant.paymentModifyWays')[$cashManagement->payment_way] }}</span>
                    </li>
                    <li>
                        <label>@lang('quickadmin.qa_created_at')</label>
                        <span class="text-capitalize" field-key='created_at'>{{ $cashManagement->created_at->format('d-m-Y H:i A') }}</span>
                    </li>
                    <li>
                        <label>@lang('quickadmin.transaction.fields.amount')</label>
                        <span class="text-capitalize" field-key='amount'><i class="fa fa-inr" aria-hidden="true"></i> {{ number_format($cashManagement->amount,2) }}</span>
                    </li>

                    <li>
                        <label>@lang('quickadmin.transaction.fields.remark')</label>
                        <span class="text-capitalize" field-key='remark'>{{ $cashManagement->remark ?? '' }}</span>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>



