@if (Session::has('message'))
{!! Session::get('message.text') !!}
@endif
{!! Form::text('perihal', old('perihal', @$surat->perihal ?? 'PERMINTAAN DANA'), [
'class' => 'form-control',
'placeholder' => 'input perihal',
]) !!}
@if (isset($surat))
{{ $surat->role->name }}
@else
{{--
{{ $myRole[0]['jabatan'] }}
--}}
@endif
{!! Form::file('file_dokumen', [
'class' => 'filestyle',
'data-buttonname' => 'btn-primary',
'accept' => 'application/pdf',
]) !!}
*gunakan file dalam bentuk pdf
@if (@$surat->file_dokumen)
File Invoice
@endif
{!! Form::text('no_invoice', old('no_invoice', @$surat->no_invoice), [
'class' => 'form-control',
'required' => 'required',
'placeholder' => 'input no invoice',
]) !!}
@if (isset($surat))
{{ $surat->perusahaan->name }}
@else
@endif
@if (isset($surat))
{{--
{{ $spt_accounting->name }}
--}}
@foreach ($surat->suratSignature()->where('label', 'Penanggung Jawab SPD')->get() as $item)
-
{{ $item->user->name }}
@endforeach
@else
@endif
{!! Form::text('note', @$surat->note, ['class' => 'form-control', 'placeholder' => 'input note']) !!}