{{-- View invoice Modal Starts --}}
<div class="modal fade" id="viewinvoice{{@$invoice->id}}" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
  <div class="modal-dialog modal-lg">
    <div class="modal-content bg-light-gray">
      <div class="modal-header bg-gray">
        <h5 class="modal-title">#{{@$invoice->id}} |  {{__('Invoice')}} - {{$invoice->invoice_title}} </h5>
        
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
<div class="modal-body">
  <span class="float-left darkBlue width100">{{__('Invoice')}} - #{{@$invoice->invoice_number}} <span class="floatRight">{{@$invoice->invoice_date}}</span></span>

{{-- SECTION  modal Starts Here --}}
<div class="modal fade" id="pay{{@$invoice->id}}" tabindex="-1" role="dialog" aria-labelledby="pay{{@$invoice->id}}Label" aria-hidden="true">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title" >{{__('Payment Options')}}</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <form action="{{url('invoice/pay')}}" method="POST"  enctype="multipart/form-data">
        <div class="modal-body">
            @csrf

          </div>
          <div class="modal-footer">
            <button type="button" class="btn btn-secondary" data-dismiss="modal">{{__('Close')}}</button>
            <button type="submit" class="btn btn-info">{{__('Checkout')}}</button>
          </div>
        </form>
    </div>
  </div>
</div>
{{-- !SECTION  modal ends here --}}