@extends('layouts.main')

@section('breadcrumbs')
    {{ Breadcrumbs::render(request()->route()->getName()) }}
@endsection
@php
    $route = explode('.', Route::currentRouteName());
@endphp
@section('content')
    <div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
        @php
            $buttonProses='';
            if('tender'==$prosespenawaran->status)
            {
                $buttonProses='<a href="'. route('tender.prosespenawaran.edit', $id) .'" class="btn btn-xs btn-primary" title="Proses Penawaran"><i class="ki-outline ki-notepad-edit"></i> Proses Penawaran</a>';
            }
            elseif ('proposal-tender'==$prosespenawaran->status)
            {
                $buttonProses='<a href="'. route('tender.prosespenawaran.editulang', $id) .'" class="btn btn-xs btn-primary" title="Proses Penawaran Ulang"><i class="ki-filled ki-arrow-circle-right"></i> Proses Penawaran Ulang</a>';
            }
        @endphp

        @include('lpj::component.detail-jaminan', [
                   'customlink' => $buttonProses,
                   'backLink' => 'tender.prosespenawaran.index',
                   'title' => 'Detail Data Proses Penawaran',
               ])

    </div>
@endsection
