fix(print-out) : perbaikan print out rap, sederhana, standar dan perbaikan tanda tangan dan name informasi rap

This commit is contained in:
majid
2025-02-05 15:18:05 +07:00
parent ac431a3c3c
commit 821324e8a1
5 changed files with 115 additions and 34 deletions

View File

@@ -1,6 +1,13 @@
<!-- resources/views/signatures/components/signature-pad.blade.php -->
<div class="text-center border">
<h3 class="signature-title">{{ ucfirst($type) }}</h3>
@if (($type === 'penilai' && Auth::user()->sign))
<img src="{{ $type === 'penilai'
? asset('storage/signatures/' . Auth::user()->id . '/' . Auth::user()->sign)
: asset('storage/signatures/' . $user->id . '/' . $user->sign) }}"
alt="E-Sign" class="signature-pad" style="width: 400px; height: 220px;">
@else
<canvas id="signature-pad-{{ $type }}" class="signature-pad" width="400" height="200"></canvas>
<div class="button-container py-2">
<button type="button" id="save-{{ $type }}" class="btn btn-xs btn-primary">Save</button>
@@ -8,4 +15,5 @@
<button type="button" id="delete-{{$type}}" class="btn btn-xs btn-danger">Delete</button>
</div>
<div id="status-{{ $type }}" class="status-message"></div>
@endif
</div>