件名 |
{{ $param->equipment_name }}
|
金額 |
{{ (!is_null($param->price) && is_numeric($param->price)) ? number_format($param->price) : $param->price }}
|
申請事由 |
@php echo nl2br($param->equipment_note) @endphp
|
添付資料 |
{{ config('const.exist_att_file.'.$param->exist_att_file) }}
|
@if($param->exist_att_file == config('const.exist_att_file_code.exist') && isset($images[$key]) && is_object($images[$key]))
@foreach($images[$key] as $key1=>$image)
@if($key1 == 0)
資料添付 |
@endif
@if(!empty($image->file_path) && Storage::disk('temp')->has($image->file_path))
@if(in_array(substr(strrchr($image->file_path, '.'), 1), config('const.image_file_extension')))
@else
{{ $image->file_name }}
@endif
@elseif(!empty($image->file_path) && ($param->id) && Storage::disk('equipment')->has($param->id.'/'.$image->file_path))
@if(in_array(substr(strrchr($image->file_path, '.'), 1), config('const.image_file_extension')))
@else
{{ $image->file_name }}
@endif
@endif
|
@endforeach
@endif