@extends('layouts.main')

@section('breadcrumbs')
    {{ Breadcrumbs::render(request()->route()->getName()) }}
@endsection

@section('content')
    <div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
        @include('lpj::component.detail-jaminan', ['backLink' => 'permohonan.index'])

        <div class="card">
            <form action="{{ route('permohonan.print', $permohonan->id) }}" method="GET">
                <input type="hidden" name="_method" value="PUT">
                @csrf
                <div class="card-footer flex justify-end">
                    <button type="submit" name="status" value="print" class="btn btn-success">
                        <i class="ki-filled ki-printer mr-2"></i> Print Surat Permohonan
                    </button>
                </div>
            </form>
        </div>
    </div>
@endsection
