@extends('layouts.service-details-layout') @section('more-styles') @endsection @section('content')
@include('components.invoice_generation_progressbar')

Payment Breakdown

{{--@php--}} {{--$calculatedNoticeExists = $service->demand_notices()->where('is_fixed', false)->exists();--}} {{--$actionRoute = ($calculatedNoticeExists) ? route('service.invoice.calculate_payment', ['service' => $service->id, 'applicant' => $applicant->id])--}} {{--: route('service.invoice.application_demand_notices')--}} {{--@endphp--}}
@csrf @foreach($demandNotices as $n => $notice) @endforeach
S/N Item Revenue Details Amount
{{$n += 1}} {{ $notice->display_name }} {{ $notice->revenue_code ? "{$notice->revenue_code->name} ({$notice->revenue_code->revenue_code})" : '-'}} @if($notice->amount) {{ $notice->amount }} @else @endif
@endsection @section('more-scripts') @endsection