@php
$extension = Util::checkExtension($file);
$file_url = Util::linkFile($sub_folder, $file);
@endphp
@php
$urlGets = url()->full();
$path = parse_url($urlGets, PHP_URL_PATH);
$segments = explode('/', trim($path, '/'));
use Carbon\Carbon;
$tanggalInput = Carbon::parse($created_at);
$tanggalPembanding = Carbon::create(2025, 11, 25);
if ($tanggalInput->gt($tanggalPembanding)) {
$display = 'display: all;';
} else {
$display = 'display: none;';
}
@endphp
@if ($extension == 'image')
@else
@if (isset($size) && $size == 'small')
|
Valid Until
|
@if($valid_until)
{{ date('d F Y', strtotime($valid_until)) }}
@else
__________
@endif
|
{{ $file_name ?? '' }}.pdf