@extends('layouts.main')

@section('breadcrumbs')
    {{ Breadcrumbs::render(request()->route()->getName()) }}
@endsection
@php
    // $route = Route::currentRouteName();
    // dd($route);
    $route = explode('.', Route::currentRouteName());
@endphp

@section('content')
<div class="w-full grid gap-5 lg:gap-7.5 mx-auto">
    <input type="hidden" id="id" name="id" value="{{ $id }}">
    <div class="card border border-agi-100 pb-2.5">
        <div class="card-header bg-agi-50" id="basic_settings">
            <h3 class="card-title">
                Tambah Data Proses Penawaran Ulang
            </h3>
            <div class="flex items-center gap-2">
                <a href="{{ route('tender.prosespenawaranulang.show', $id) }}" class="btn btn-xs btn-primary" title="Detail"><i class="ki-filled ki-abstract-26"></i> Detail</a>
                <a href="{{ route('tender.prosespenawaranulang.index') }}" class="btn btn-xs btn-info"><i class="ki-filled ki-exit-left"></i> Back</a>
            </div>
        </div>
        <div class="card-body lg:py-7.5 grid grid-cols-3">

            <div class="mb-5">
                <h3 class="text-md font-medium text-gray-900">
                    Nama Debiture:
                </h3>
                <span class="text-2sm text-gray-700">
                    <label class="card-title" id="namaDebitur">
                        -
                    </label>
                </span>
            </div>
            <div class="mb-5">
                <h3 class="text-md font-medium text-gray-900">
                    Nomor Register Permohonan:
                </h3>
                <span class="text-2sm text-gray-700">
                    <label class="card-title" id="textReg">
                        No. registrasi
                    </label>
                </span>
            </div>

            <div class="mb-5">
                <h3 class="text-md font-medium text-gray-900">
                    Kode Penawaran:
                </h3>
                <span class="text-2sm text-gray-700">
                    <label class="card-title" id="textCodePenawaran">
                        Kode Penawaran
                    </label>
                </span>
            </div>

            <div class="mb-5">
                <h3 class="text-md font-medium text-gray-900">
                    Status Penawaran:
                </h3>
                <span class="text-2sm text-gray-700">
                    <label class="card-title" id="textStatusPenawaran">
                        Status
                    </label>
                </span>
            </div>

        </div>
        <div class="card-body grid gap-5">
            <!-- datatables -->
            <div class="grid">
                <div class="card border border-agi-100 min-w-full">
                    <div class="card-header bg-agi-50">
                        <h3 class="card-title">Data KJPP</h3>
                    </div>
                    <div class="card-table scrollable-x-auto">
                        <table class="table table-border align-middle text-gray-700 font-medium text-sm">
                            <thead>
                                <tr>
                                    <th class="w-14 text-center">No</th>
                                    <th class="min-w-[250px]">KJPP</th>
                                    <th>Biaya Penawaran</th>
                                    <th>Upload Penawaran</th>
                                    <th class="min-w-[50px] text-center">Action</th>
                                </tr>
                            </thead>
                            <tbody id="tbodyKJPP1">
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            <!-- datatables -->
            <div class="flex justify-end">
               &nbsp;
            </div>
        </div>
    </div>
</div>
@endsection
@include('lpj::prosespenawaranulang.js.editjs')
