@if($flag==1)
{{ Form::model($data_row,array('url'=>route('save-expense'),'id'=>"expense-form", 'class'=>"form-horizontal form-label-left", "files"=>true)) }}
{{Form::hidden('id',null)}}
@else
{{ Form::open(array('url'=>route('save-expense'),'id'=>"expense-form", 'class'=>"form-horizontal form-label-left", "files"=>true)) }}
@endif
@if( $flag==1 && $data_row->attachments->count())
{{lang_trans('txt_sno')}}. |
{{lang_trans('txt_name')}}. |
{{lang_trans('txt_action')}} |
@if($data_row->attachments)
@foreach($data_row->attachments as $k=>$val)
@if($val->file!='')
{{$k+1}} |
{{$val->file}} |
|
@endif
@endforeach
@else
{{lang_trans('txt_no_file')}} |
@endif
@endif