@extends('layouts.app') @section('content')
@if (!empty($upload_details) || !empty($credit_details)) @if (!empty($upload_details))
@else @endif {{ csrf_field() }}
Review & Payment

@if (!empty($credit_details))
  Item Subtotal Total
{{ $credit_details[0]['item'] }} {{ money((float) $credit_details[0]['credit_amount']) }} {{ money((float) $credit_details[0]['credit_amount']) }}
@else @foreach ($upload_details as $key => $item) @endforeach
  Service Editor Title Due Date Subtotal Discount Total
{{ $item['service']->service or 'N/A' }} {{ $item['editor'] or 'N/A' }} {{ $item['doc_name'] }} {{ $item['due_date'] }} {{ money($item['subtotal']) }} {{ !empty($item['discount']) ? money($item['discount']) : '' }} {{ money($item['total_amt']) }}
Total {{ money($totalData['subtotal']) }} @if ($totalData['discount']) {{ money($totalData['discount']) }} @endif {{ money($totalData['total']) }}
@endif

Payment Type

Stripe
{{-- Leave an empty div for stripe.js to attach to --}}
{{-- @include('partials.checkout.actions_continue') --}}

@else

No documents submitted

@endif
@stop