Files
lpj/resources/views/prosespenawaran/edit.blade.php
2024-12-31 14:18:46 +07:00

116 lines
6.1 KiB
PHP

@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">
<!-- $id = penawaran.id -->
<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
</h3>
<div class="flex items-center gap-2">
<a href="{{ route('tender.prosespenawaran.show', $id) }}" class="btn btn-xs btn-primary" title="Detail"><i class="ki-filled ki-abstract-26"></i> Detail</a>
<a href="{{ route('tender.prosespenawaran.index') }}" class="btn btn-xs btn-info"><i class="ki-filled ki-exit-left"></i> Back</a>
</div>
</div>
<div class="card-body grid gap-5">
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">
Nama Debitur
</label>
<div class="flex flex-wrap items-baseline w-full">
<label class="card-title" id="namaDebitur">
-
</label>
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">
No. registrasi
</label>
<div class="flex flex-wrap items-baseline w-full">
<label class="card-title" id="textReg">
No. registrasi
</label>
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">
Nomor Penawaran
</label>
<div class="flex flex-wrap items-baseline w-full">
<label class="card-title" id="textCodePenawaran">
Nomor Penawaran
</label>
</div>
</div>
<div class="flex items-baseline flex-wrap lg:flex-nowrap gap-2.5">
<label class="form-label max-w-56">
Tambah KJPP
</label>
<div class="flex flex-wrap items-baseline w-full">
<select class="select " style="width: 25.5em" name="select" id="{{$route[1]}}_kjpps">
<option value="0"> - Pilih KJPP - </option>
</select>&nbsp;&nbsp;
<button class="btn btn-primary" id="{{$route[1]}}_toAddKJPP">
Tambah
</button>
</div>
</div>
<!-- datatables -->
<div class="grid">
<form enctype="multipart/form-data" id="form_{{$route[1]}}">
<div class="card border border-agi-100 min-w-full">
<div class="card-header bg-agi-50">
<h3 class="card-title">Data KJPP</h3>
<button type="button" class="btn btn-sm btn-danger" id="{{$route[1]}}_toProsesPenawaran">
<i class="ki-filled ki-wrench"></i>Penawaran Ulang
</button>
</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-[80px]">KJPP</th>
<th>No Proposal</th>
<th>Tanggal Proposal</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">
<button type="submit" class="btn btn-success" id="{{$route[1]}}_toEditDraft">
Simpan Draft
</form>
</button>&nbsp;&nbsp;
<button type="button" class="btn btn-primary" id="{{$route[1]}}_toEdit">
Pengajuan Penawaran
</button>
</div>
</div>
</div>
</div>
@endsection
@include('lpj::prosespenawaran.js.editjs')