

		 {!! Form::open(array('url'=>'pagosmantenimientos', '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 Mantenimientos</legend>
				{!! Form::hidden('ID', $row['ID']) !!}					
									  <div class="form-group row  " >
										<label for="InvTitle" class=" control-label col-md-4 text-left"> InvTitle </label>
										<div class="col-md-6">
										  <input  type='text' name='InvTitle' id='InvTitle' value='{{ $row['InvTitle'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="InvNumber" class=" control-label col-md-4 text-left"> InvNumber </label>
										<div class="col-md-6">
										  <input  type='text' name='InvNumber' id='InvNumber' value='{{ $row['InvNumber'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="InvCustomer" class=" control-label col-md-4 text-left"> InvCustomer </label>
										<div class="col-md-6">
										  <input  type='text' name='InvCustomer' id='InvCustomer' value='{{ $row['InvCustomer'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="InvShippAddress" class=" control-label col-md-4 text-left"> InvShippAddress </label>
										<div class="col-md-6">
										  <input  type='text' name='InvShippAddress' id='InvShippAddress' value='{{ $row['InvShippAddress'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="InvNote" class=" control-label col-md-4 text-left"> InvNote </label>
										<div class="col-md-6">
										  <input  type='text' name='InvNote' id='InvNote' value='{{ $row['InvNote'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="InvTerms" class=" control-label col-md-4 text-left"> InvTerms </label>
										<div class="col-md-6">
										  <input  type='text' name='InvTerms' id='InvTerms' value='{{ $row['InvTerms'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="InvDiscount" class=" control-label col-md-4 text-left"> InvDiscount </label>
										<div class="col-md-6">
										  <input  type='text' name='InvDiscount' id='InvDiscount' value='{{ $row['InvDiscount'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="InvTax" class=" control-label col-md-4 text-left"> InvTax </label>
										<div class="col-md-6">
										  <input  type='text' name='InvTax' id='InvTax' value='{{ $row['InvTax'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="InvShipp" class=" control-label col-md-4 text-left"> InvShipp </label>
										<div class="col-md-6">
										  <input  type='text' name='InvShipp' id='InvShipp' value='{{ $row['InvShipp'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="InvTotal" class=" control-label col-md-4 text-left"> InvTotal </label>
										<div class="col-md-6">
										  <input  type='text' name='InvTotal' id='InvTotal' value='{{ $row['InvTotal'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Residencia" class=" control-label col-md-4 text-left"> Residencia </label>
										<div class="col-md-6">
										  <input  type='text' name='Residencia' id='Residencia' value='{{ $row['Residencia'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Cuota" class=" control-label col-md-4 text-left"> Cuota </label>
										<div class="col-md-6">
										  <input  type='text' name='Cuota' id='Cuota' value='{{ $row['Cuota'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Descripcioncuota" class=" control-label col-md-4 text-left"> Descripcioncuota </label>
										<div class="col-md-6">
										  <input  type='text' name='Descripcioncuota' id='Descripcioncuota' value='{{ $row['Descripcioncuota'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Nombres" class=" control-label col-md-4 text-left"> Nombres </label>
										<div class="col-md-6">
										  <input  type='text' name='Nombres' id='Nombres' value='{{ $row['Nombres'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Apellidos" class=" control-label col-md-4 text-left"> Apellidos </label>
										<div class="col-md-6">
										  <input  type='text' name='Apellidos' id='Apellidos' value='{{ $row['Apellidos'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Pagorealizado" class=" control-label col-md-4 text-left"> Pagorealizado </label>
										<div class="col-md-6">
										  <input  type='text' name='Pagorealizado' id='Pagorealizado' value='{{ $row['Pagorealizado'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Pagostatus" class=" control-label col-md-4 text-left"> Pagostatus </label>
										<div class="col-md-6">
										  <input  type='text' name='Pagostatus' id='Pagostatus' value='{{ $row['Pagostatus'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Pagorestante" class=" control-label col-md-4 text-left"> Pagorestante </label>
										<div class="col-md-6">
										  <input  type='text' name='Pagorestante' id='Pagorestante' value='{{ $row['Pagorestante'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Pagoparcial" class=" control-label col-md-4 text-left"> Pagoparcial </label>
										<div class="col-md-6">
										  <input  type='text' name='Pagoparcial' id='Pagoparcial' value='{{ $row['Pagoparcial'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Mes" class=" control-label col-md-4 text-left"> Mes </label>
										<div class="col-md-6">
										  <input  type='text' name='Mes' id='Mes' value='{{ $row['Mes'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Año" class=" control-label col-md-4 text-left"> Año </label>
										<div class="col-md-6">
										  <input  type='text' name='Ano' id='Ano' value='{{ $row['Ano'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Condominio2" class=" control-label col-md-4 text-left"> Condominio2 </label>
										<div class="col-md-6">
										  <input  type='text' name='Condominio2' id='Condominio2' value='{{ $row['Condominio2'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Adjuntarimagen" class=" control-label col-md-4 text-left"> Adjuntarimagen </label>
										<div class="col-md-6">
										  <textarea name='Adjuntarimagen' rows='5' id='Adjuntarimagen' class='form-control form-control-sm '  
				           >{{ $row['Adjuntarimagen'] }}</textarea> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Tipocuota" class=" control-label col-md-4 text-left"> Tipocuota </label>
										<div class="col-md-6">
										  <input  type='text' name='Tipocuota' id='Tipocuota' value='{{ $row['Tipocuota'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <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="Tipogeneracion" class=" control-label col-md-4 text-left"> Tipogeneracion </label>
										<div class="col-md-6">
										  <input  type='text' name='Tipogeneracion' id='Tipogeneracion' value='{{ $row['Tipogeneracion'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Cuentaprincipal" class=" control-label col-md-4 text-left"> Cuentaprincipal </label>
										<div class="col-md-6">
										  <input  type='text' name='Cuentaprincipal' id='Cuentaprincipal' value='{{ $row['Cuentaprincipal'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Cuentasecundaria" class=" control-label col-md-4 text-left"> Cuentasecundaria </label>
										<div class="col-md-6">
										  <input  type='text' name='Cuentasecundaria' id='Cuentasecundaria' value='{{ $row['Cuentasecundaria'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Idpagores" class=" control-label col-md-4 text-left"> Idpagores </label>
										<div class="col-md-6">
										  <input  type='text' name='idpagores' id='idpagores' value='{{ $row['idpagores'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Mesano" class=" control-label col-md-4 text-left"> Mesano </label>
										<div class="col-md-6">
										  <input  type='text' name='mesano' id='mesano' value='{{ $row['mesano'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Mes2" class=" control-label col-md-4 text-left"> Mes2 </label>
										<div class="col-md-6">
										  <input  type='text' name='Mes2' id='Mes2' value='{{ $row['Mes2'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Condominio" class=" control-label col-md-4 text-left"> Condominio </label>
										<div class="col-md-6">
										  <input  type='text' name='Condominio' id='Condominio' value='{{ $row['Condominio'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Nota" class=" control-label col-md-4 text-left"> Nota </label>
										<div class="col-md-6">
										  <textarea name='Nota' rows='5' id='Nota' class='form-control form-control-sm '  
				           >{{ $row['Nota'] }}</textarea> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Conciliacion" class=" control-label col-md-4 text-left"> Conciliacion </label>
										<div class="col-md-6">
										  <input  type='text' name='Conciliacion' id='Conciliacion' value='{{ $row['Conciliacion'] }}' 
						     class='form-control form-control-sm ' /> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Email" class=" control-label col-md-4 text-left"> Email </label>
										<div class="col-md-6">
										  <textarea name='email' rows='5' id='email' class='form-control form-control-sm '  
				           >{{ $row['email'] }}</textarea> 
										 </div> 
										 <div class="col-md-2">
										 	
										 </div>
									  </div> 					
									  <div class="form-group row  " >
										<label for="Idcalendar" class=" control-label col-md-4 text-left"> Idcalendar </label>
										<div class="col-md-6">
										  <input  type='text' name='idcalendar' id='idcalendar' value='{{ $row['idcalendar'] }}' 
						     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>		 
