@extends('layouts.app') @section('content')
@foreach ($breakdowns as $type => $breakdown)
raffle logo

Estimated Cost Calculation For {{ $cost->country?->title ?? 'N/A' }} ({{ str_replace('_', ' ', $type) }})

Recurring Costs
Monthly Yearly
Living Cost {{ $breakdown['living']['monthly'] }} {{ $breakdown['living']['yearly'] }}
Accommodation Cost {{ $breakdown['accomodation']['monthly'] }} {{ $breakdown['accomodation']['yearly'] }}
Total Recurring {{ $breakdown['living']['monthly'] + $breakdown['accomodation']['monthly'] }} {{ $breakdown['living']['yearly'] + $breakdown['accomodation']['yearly'] }}
One-time Costs
Visa {{ $breakdown['onetime']['visa'] }}
Biometrics {{ $breakdown['onetime']['biometrics'] }}
SEVIS {{ $breakdown['onetime']['sevis'] }}
Application {{ $breakdown['onetime']['application'] }}
Total One-time {{ $breakdown['onetime']['total'] }}
Service Costs
Flight Ticket {{ $breakdown['service']['flight_ticket'] }}
Insurance {{ $breakdown['service']['insurance'] }}
Extra {{ $breakdown['service']['extra'] }}
Total Service {{ $breakdown['service']['total'] }}
Overall Estimated Cost
(Excluding Recurring Costs)
{{ $breakdown['service']['total'] + $breakdown['onetime']['total'] }}
@endforeach
@endsection