@extends('layouts.app') @section('content')

{{ app()->getLocale() == 'ar' ? 'إنشاء سند قبض جديد' : 'Create New Receipt' }}

{{ app()->getLocale() == 'ar' ? 'عودة' : 'Back' }}
@csrf @if($rental)
{{ app()->getLocale() == 'ar' ? 'العقد المختار' : 'Selected Contract' }}
{{ $rental->contract_number }}
{{ $rental->customer->name }}
{{ app()->getLocale() == 'ar' ? 'المتبقي' : 'Remaining' }}
{{ number_format($rental->remaining_amount, 2) }} SAR
@else
@endif
{{ app()->getLocale() == 'ar' ? 'إلغاء' : 'Cancel' }}
@endsection