Merge branch 'staging' of https://git.putrakuningan.com/daengdeni/lpj into tender
This commit is contained in:
@@ -277,4 +277,5 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@include('lpj::component.history-permohonan')
|
||||
@include('lpj::component.pdfviewer')
|
||||
|
||||
78
resources/views/component/history-permohonan.blade.php
Normal file
78
resources/views/component/history-permohonan.blade.php
Normal file
@@ -0,0 +1,78 @@
|
||||
<div class="card min-w-full">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title">
|
||||
Activity
|
||||
</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<div class="flex flex-col">
|
||||
@foreach($permohonan->histories as $activity)
|
||||
<div class="flex items-start relative">
|
||||
@if($loop->first)
|
||||
<div
|
||||
class="w-9 left-0 top-9 absolute bottom-0 translate-x-1/2 border-l border-l-primary">
|
||||
</div>
|
||||
@endif
|
||||
@if(!$loop->last && !$loop->first)
|
||||
<div
|
||||
class="w-9 left-0 top-9 absolute bottom-0 translate-x-1/2 border-l border-l-gray-300">
|
||||
</div>
|
||||
@endif
|
||||
<div
|
||||
class="flex items-center justify-center shrink-0 rounded-full
|
||||
{{ $loop->first ? 'btn-outline btn-primary' : 'bg-gray-100 border-gray-300 text-gray-600' }}
|
||||
size-9">
|
||||
@switch(strtolower($activity->status))
|
||||
@case('preregister')
|
||||
<i class="ki-filled ki-note-2 text-base"></i>
|
||||
@break
|
||||
@case('order')
|
||||
<i class="ki-filled ki-handcart text-base"></i>
|
||||
@break
|
||||
|
||||
@case('revisi')
|
||||
<i class="ki-filled ki-notepad-edit text-base"></i>
|
||||
@break
|
||||
|
||||
@case('register')
|
||||
<i class="ki-filled ki-note-2 text-base"></i>
|
||||
@break
|
||||
|
||||
@case('assign')
|
||||
<i class="ki-filled ki-file-added"></i>
|
||||
@break
|
||||
|
||||
@case('survey')
|
||||
<i class="ki-filled ki-map text-base"></i>
|
||||
@break
|
||||
@case('proses laporan')
|
||||
<i class="ki-filled ki-paper-plane text-base"></i>
|
||||
@break
|
||||
@case('approved')
|
||||
<i class="ki-filled ki-check text-base"></i>
|
||||
@break
|
||||
@case('delivered')
|
||||
<i class="ki-filled ki-delivery-3 text-base"></i>
|
||||
@break
|
||||
@default
|
||||
<i class="ki-filled ki-information text-base"></i>
|
||||
@endswitch
|
||||
</div>
|
||||
<div class="ml-3 mb-5">
|
||||
<span class="text-sm text-gray-700 capitalize font-medium">{{ $activity->status }}</span>
|
||||
<p class="text-xs text-gray-500 mt-1">{{ $activity->keterangan }}</p>
|
||||
<div class="flex items-center mt-2">
|
||||
<span class="text-xs text-gray-400">{{ $activity->created_by ? $activity->creator->name : 'System' }}</span>
|
||||
<span class="text-xs text-gray-400 ml-2">{{ $activity->created_at->format('d M Y H:i') }}</span>
|
||||
</div>
|
||||
@if($activity->file_path)
|
||||
<a href="{{ route('activity.download', $activity->permohonan_id) }}" class="text-xs text-blue-600 hover:underline mt-2 inline-block">
|
||||
<i class="ki-outline ki-attachment"></i> Attachment
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -139,7 +139,7 @@
|
||||
</ul>
|
||||
<p>Harap proposal dibuat dengan harga yang minimal sehingga tidak perlu tawar menawar lagi.</p>
|
||||
<p>Mohon proposal dapat saya terima segera, sebelum
|
||||
<span class="font-bold">{{ formatTanggalIndonesia2($penawaran->end_date) }}</span>
|
||||
<span class="font-bold">{{ formatTanggalIndonesia($penawaran->end_date,true) }}</span>
|
||||
</p>
|
||||
<p>Best Regards,
|
||||
<div class="font-bold">
|
||||
|
||||
@@ -154,7 +154,7 @@
|
||||
<div class="content">
|
||||
Harap proposal dibuat dengan harga yang minimal sehingga tidak perlu tawar menawar lagi. <br />
|
||||
Mohon proposal dapat saya terima segera, sebelum <span
|
||||
class="important">{{ formatTanggalIndonesia2($penawaran->end_date) }}</span>
|
||||
class="important">{{ formatTanggalIndonesia($penawaran->end_date,true) }}</span>
|
||||
</div>
|
||||
|
||||
<div class="signature">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
@include('lpj::component.detail-jaminan',['backLink' => 'authorization.index'])
|
||||
|
||||
<div class="card">
|
||||
<form action="{{ route('authorization.update', $permohonan->id) }}" method="POST" id="authorizationForm">
|
||||
<form action="{{ route('authorization.update', $permohonan->id) }}" method="POST" id="authorizationForm" enctype="multipart/form-data">
|
||||
<input type="hidden" name="_method" value="PUT">
|
||||
@csrf
|
||||
<div class="card-body lg:py-7.5">
|
||||
@@ -27,7 +27,7 @@
|
||||
Upload File Revisi
|
||||
</label>
|
||||
<div class="flex flex-wrap items-baseline w-full">
|
||||
<input type="file" class="file-input" id="revisionFile" name="revisionFile">
|
||||
<input type="file" class="file-input" id="revisionFile" name="attachment">
|
||||
<em class="alert text-danger text-sm hidden" id="file-message"></em>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user