

		 {!! Form::open(array('url'=>'upahangkutantma/savepublic', 'class'=>'form-vertical','files' => true , 'parsley-validate'=>'','novalidate'=>' ')) !!}

	@if(Session::has('messagetext'))
	  
		   {!! Session::get('messagetext') !!}
	   
	@endif
	<ul class="parsley-error-list">
		@foreach($errors->all() as $error)
			<li>{{ $error }}</li>
		@endforeach
	</ul>		


<div class="col-md-3">
						<fieldset><legend> </legend>
				{!! Form::hidden('id', $row['id']) !!}					
									  <div class="form-group  " >
										<label for="ipt" class=" control-label "> No Dokumen    </label>									
										  <input  type='text' name='no_dokumen' id='no_dokumen' value='{{ $row['no_dokumen'] }}' 
						     class='form-control form-control-sm ' /> 						
									  </div> 					
									  <div class="form-group  " >
										<label for="ipt" class=" control-label "> Jml Spta    </label>									
										  <input  type='text' name='jml_spta' id='jml_spta' value='{{ $row['jml_spta'] }}' 
						     class='form-control form-control-sm ' /> 						
									  </div> 					
									  <div class="form-group  " >
										<label for="ipt" class=" control-label "> Nominal    </label>									
										  <input  type='text' name='nominal' id='nominal' value='{{ $row['nominal'] }}' 
						     class='form-control form-control-sm ' /> 						
									  </div> {!! Form::hidden('pta_by', $row['pta_by']) !!}{!! Form::hidden('pta_date', $row['pta_date']) !!}{!! Form::hidden('tma_by', $row['tma_by']) !!}{!! Form::hidden('tma_date', $row['tma_date']) !!}{!! Form::hidden('keu_by', $row['keu_by']) !!}{!! Form::hidden('keu_date', $row['keu_date']) !!}{!! Form::hidden('periode_bayar_awal', $row['periode_bayar_awal']) !!}{!! Form::hidden('periode_bayar_akhir', $row['periode_bayar_akhir']) !!}{!! Form::hidden('approve_bayar', $row['approve_bayar']) !!}{!! Form::hidden('bayar_date', $row['bayar_date']) !!}{!! Form::hidden('status', $row['status']) !!}{!! Form::hidden('unit', $row['unit']) !!}{!! Form::hidden('createdOn', $row['createdOn']) !!}{!! Form::hidden('updatedOn', $row['updatedOn']) !!}</fieldset></div><div class="col-md-3">
						<fieldset><legend> </legend>
									
									  <div class="form-group  " >
										<label for="ipt" class=" control-label "> Tanggal    </label>									
										  <input  type='text' name='tanggal' id='tanggal' value='{{ $row['tanggal'] }}' 
						     class='form-control form-control-sm ' /> 						
									  </div> </fieldset></div><div class="col-md-3">
						<fieldset><legend> </legend>
									
									  <div class="form-group  " >
										<label for="ipt" class=" control-label "> Tgl Timbang Awal    </label>									
										  <input  type='text' name='tgl_timbang_awal' id='tgl_timbang_awal' value='{{ $row['tgl_timbang_awal'] }}' 
						     class='form-control form-control-sm ' /> 						
									  </div> </fieldset></div><div class="col-md-3">
						<fieldset><legend> </legend>
									
									  <div class="form-group  " >
										<label for="ipt" class=" control-label "> Tgl Timbang Akhir    </label>									
										  <input  type='text' name='tgl_timbang_akhir' id='tgl_timbang_akhir' value='{{ $row['tgl_timbang_akhir'] }}' 
						     class='form-control form-control-sm ' /> 						
									  </div> </fieldset></div>

			<div style="clear:both"></div>	
				
					
				  <div class="form-group">
					<label class="col-sm-4 text-right">&nbsp;</label>
					<div class="col-sm-8">	
					<button type="submit" name="apply" class="btn btn-info btn-sm" ><i class="fa  fa-check-circle"></i> {{ Lang::get('core.sb_apply') }}</button>
					<button type="submit" name="submit" class="btn btn-primary btn-sm" ><i class="fa  fa-save "></i> {{ Lang::get('core.sb_save') }}</button>
				  </div>	  
			
		</div> 
		 
		 {!! Form::close() !!}
		 
   <script type="text/javascript">
	$(document).ready(function() { 
		
		 

		$('.removeCurrentFiles').on('click',function(){
			var removeUrl = $(this).attr('href');
			$.get(removeUrl,function(response){});
			$(this).parent('div').empty();	
			return false;
		});		
		
	});
	</script>		 
