@extends('layouts.dashboard.inface', ['section' => 'sales']) @section('content')
arrow_back Volver a ventas

{{ $contract->folio }}

$contract->status === 'pending_signature', 'border-emerald-200 bg-emerald-50 text-emerald-700 dark:border-emerald-900/40 dark:bg-emerald-900/20 dark:text-emerald-300' => $contract->status === 'signed', ])> {{ $contract->statusLabel }}

{{ $contract->buyerName }}

@if ($contract->status === 'pending_signature')
@csrf
@elseif ($contract->saleId) receipt_long Ver venta @endif
@if ($errors->has('contract'))
{{ $errors->first('contract') }}
@endif

Precio

{{ $contract->totalPriceFormatted }}

Enganche

{{ $contract->downPaymentFormatted }}

Saldo

{{ $contract->remainingBalanceFormatted }}

Mensualidad

{{ $contract->monthlyPaymentFormatted }}

{!! $contract->generatedHtml !!}
@endsection