

		 {!! Form::open(array('url'=>'registrodepagosmantdetalles', 'class'=>'form-horizontal','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="row"><div class="col-md-12">
						<fieldset><legend> Pagos Mantenimiento Detalle</legend>
				{!! Form::hidden('ItemID', $row['ItemID']) !!}					
									  <div class="form-group row  " >
										<label for="InvID" class=" control-label col-md-4 text-left"> InvID </label>
										<div class="col-md-6">
										  <input  type='text' name='InvID' id='InvID' value='{{ $row['InvID'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Items" class=" control-label col-md-4 text-left"> Items </label>
										<div class="col-md-6">
										  <input  type='text' name='Items' id='Items' value='{{ $row['Items'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Qty" class=" control-label col-md-4 text-left"> Qty </label>
										<div class="col-md-6">
										  <input  type='text' name='Qty' id='Qty' value='{{ $row['Qty'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Amount" class=" control-label col-md-4 text-left"> Amount </label>
										<div class="col-md-6">
										  <input  type='text' name='Amount' id='Amount' value='{{ $row['Amount'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Actualizar" class=" control-label col-md-4 text-left"> Actualizar </label>
										<div class="col-md-6">
										  <input  type='text' name='actualizar' id='actualizar' value='{{ $row['actualizar'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Totalpagado" class=" control-label col-md-4 text-left"> Totalpagado </label>
										<div class="col-md-6">
										  <input  type='text' name='Totalpagado' id='Totalpagado' value='{{ $row['Totalpagado'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> </fieldset></div></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-default btn-sm" ><i class="fa  fa-check-circle"></i> {{ Lang::get('core.sb_apply') }}</button>
					<button type="submit" name="submit" class="btn btn-default btn-sm" ><i class="fa  fa-save "></i> {{ Lang::get('core.sb_save') }}</button>
				  </div>	  
			
		</div> 
		 <input type="hidden" name="action_task" value="public" />
		 {!! 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>		 
