@extends('layouts.app', ['class' => 'g-sidenav-show bg-gray-100']) {{-- section content --}} @section('content') @include('layouts.navbars.auth.topnav', ['title' => 'Profile'])
{{-- photo profile --}} profile_image
{{ $user_login->firstname }}

{{ session('username') }}

@csrf

Informasi Akun


{{-- alert --}} @include('components.alert')

image

Maksimal Size : 2048 KB

Format Image : PNG,JPG,JPEG

{{-- Single signature field for non-scrt12 users --}} @if ($user_login->idroles != 'scrt12')

Tanda Tangan Digital


{{-- Hidden input stays inside the profile form so the bottom "Simpan" persists it --}} {{-- Display area: differs based on whether a signature exists --}}
@if ($user_login->signature)

Preview Signature Tersimpan:

Signature Preview
@else @endif
{{-- Bootstrap 5 modal: used for both create and edit flows --}} @endif
{{-- Multiple signatures for scrt12 users only --}} @if ($user_login->idroles == 'scrt12')

Tanda Tangan Digital


{{-- Daftar Tanda Tangan yang Sudah Ada --}} @if ($user_login->signatures && $user_login->signatures->count() > 0)
Daftar Tanda Tangan
Maksimal 1 tanda tangan aktif
@foreach ($user_login->signatures as $idx => $sig) @endforeach
# Nama Tanda Tangan Preview Status Aksi
{{ $idx + 1 }} {{ $sig->nama }} @if ($sig->is_active)
Sedang digunakan @endif
Signature @if ($sig->is_active) Aktif @else Nonaktif @endif
@if (!$sig->is_active)
@csrf
@else
@csrf
@endif
@csrf @method('DELETE')
@endif {{-- Form Tambah Tanda Tangan Baru --}}
@csrf

@endif
@push('js') @endpush @endsection