HEX
Server: Apache
System: Linux p3plzcpnl506847.prod.phx3.secureserver.net 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User: slfopp7cb1df (5698090)
PHP: 8.1.34
Disabled: NONE
Upload Files
File: //proc/self/root/proc/thread-self/cwd/pm/plugins/Manufacturing/Views/dashboards/dashboard.php
<div id="page-content" class="page-wrapper clearfix">
	<div class="row">
			<div class="col-md-12" >
				<div class="panel_s">
					<div class="panel-body">

						<div class="row">
							<div class="col-md-3">
								<div  class="leads-filter-column">
									<label for="mo_measures"><?php echo app_lang('measures'); ?></label><br />
									<select name="mo_measures" id="mo_measures" data-live-search="true" class="select2 validate-hidden"  data-width="100%" data-none-selected-text="<?php echo app_lang('status'); ?>">
										<?php foreach($mo_measures_type as $measures) { ?>
											<option value="<?php echo html_entity_decode($measures['name']); ?>"><?php echo html_entity_decode($measures['label']); ?></option>
										<?php } ?>
									</select>
								</div> 
							</div>

							<div class="col-md-3">
								
								<div class="form-group" id="report-time">
									<label for="mo_months-report"><?php echo app_lang('period_datepicker'); ?></label><br />
									<select class="select2 validate-hidden" name="mo_months-report" data-width="100%" data-none-selected-text="<?php echo app_lang('dropdown_non_selected_tex'); ?>">
										<option value=""><?php echo app_lang('report_sales_months_all_time'); ?></option>
										<option value="this_month"><?php echo app_lang('this_month'); ?></option>
										<option value="1"><?php echo app_lang('last_month'); ?></option>
										<option value="this_year"><?php echo app_lang('this_year'); ?></option>
										<option value="last_year"><?php echo app_lang('last_year'); ?></option>
										<option value="3" data-subtext="<?php echo _d(date('Y-m-01', strtotime("-2 MONTH"))); ?> - <?php echo _d(date('Y-m-t')); ?>"><?php echo app_lang('report_sales_months_three_months'); ?></option>
										<option value="6" data-subtext="<?php echo _d(date('Y-m-01', strtotime("-5 MONTH"))); ?> - <?php echo _d(date('Y-m-t')); ?>"><?php echo app_lang('report_sales_months_six_months'); ?></option>
										<option value="12" data-subtext="<?php echo _d(date('Y-m-01', strtotime("-11 MONTH"))); ?> - <?php echo _d(date('Y-m-t')); ?>"><?php echo app_lang('report_sales_months_twelve_months'); ?></option>
										<option value="custom"><?php echo app_lang('period_datepicker'); ?></option>
									</select>
								</div>
							</div>
							<div id="mo_date-range" class="hide ">
								<div class="row">
									<div class="col-md-3">
										<label for="mo_report-from" class="control-label"><?php echo app_lang('report_sales_from_date'); ?></label>
										<div class="input-group date">
											<input type="text" class="form-control datepicker" id="mo_report-from" autocomplete="off" name="mo_report-from">
											<div class="input-group-addon">
												<i class="fa fa-calendar calendar-icon"></i>
											</div>
										</div>
									</div>
									<div class="col-md-3">
										<label for="mo_report-to" class="control-label"><?php echo app_lang('report_sales_to_date'); ?></label>
										<div class="input-group date">
											<input type="text" class="form-control datepicker" disabled="disabled" autocomplete="off" id="mo_report-to" name="mo_report-to">
											<div class="input-group-addon">
												<i class="fa fa-calendar calendar-icon"></i>
											</div>
										</div>
									</div>
								</div>
							</div>

						</div>

						<!--report by manufacturing order  -->
						<div class="row">
							<div class="col-md-12">
								<div id="report_by_manufacturing_order">
								</div>
							</div>
						</div>
						<br>
						<br>


						<!--report by work order  -->
						<div class="row">
							<div class="col-md-3">
								<div  class="leads-filter-column">
									<label for="wo_measures"><?php echo app_lang('measures'); ?></label><br />
									<select name="wo_measures" id="wo_measures" data-live-search="true" class="select2 validate-hidden"  data-width="100%" data-none-selected-text="<?php echo app_lang('status'); ?>">
										<?php foreach($wo_measures_type as $measures) { ?>
											<option value="<?php echo html_entity_decode($measures['name']); ?>"><?php echo html_entity_decode($measures['label']); ?></option>
										<?php } ?>
									</select>
								</div> 
							</div>

							<div class="col-md-3">
								
								<div class="form-group" id="report-time">
									<label for="wo_months-report"><?php echo app_lang('period_datepicker'); ?></label><br />
									<select class="select2 validate-hidden" name="wo_months-report" data-width="100%" data-none-selected-text="<?php echo app_lang('dropdown_non_selected_tex'); ?>">
										<option value=""><?php echo app_lang('report_sales_months_all_time'); ?></option>
										<option value="this_month"><?php echo app_lang('this_month'); ?></option>
										<option value="1"><?php echo app_lang('last_month'); ?></option>
										<option value="this_year"><?php echo app_lang('this_year'); ?></option>
										<option value="last_year"><?php echo app_lang('last_year'); ?></option>
										<option value="3" data-subtext="<?php echo _d(date('Y-m-01', strtotime("-2 MONTH"))); ?> - <?php echo _d(date('Y-m-t')); ?>"><?php echo app_lang('report_sales_months_three_months'); ?></option>
										<option value="6" data-subtext="<?php echo _d(date('Y-m-01', strtotime("-5 MONTH"))); ?> - <?php echo _d(date('Y-m-t')); ?>"><?php echo app_lang('report_sales_months_six_months'); ?></option>
										<option value="12" data-subtext="<?php echo _d(date('Y-m-01', strtotime("-11 MONTH"))); ?> - <?php echo _d(date('Y-m-t')); ?>"><?php echo app_lang('report_sales_months_twelve_months'); ?></option>
										<option value="custom"><?php echo app_lang('period_datepicker'); ?></option>
									</select>
								</div>
							</div>
							<div id="wo_date-range" class="hide ">
								<div class="row">
									<div class="col-md-3">
										<label for="wo_report-from" class="control-label"><?php echo app_lang('report_sales_from_date'); ?></label>
										<div class="input-group date">
											<input type="text" class="form-control datepicker" id="wo_report-from" autocomplete="off" name="wo_report-from">
											<div class="input-group-addon">
												<i class="fa fa-calendar calendar-icon"></i>
											</div>
										</div>
									</div>
									<div class="col-md-3">
										<label for="wo_report-to" class="control-label"><?php echo app_lang('report_sales_to_date'); ?></label>
										<div class="input-group date">
											<input type="text" class="form-control datepicker" disabled="disabled" autocomplete="off" id="wo_report-to" name="wo_report-to">
											<div class="input-group-addon">
												<i class="fa fa-calendar calendar-icon"></i>
											</div>
										</div>
									</div>
								</div>
							</div>

						</div>

						<div class="row">
							<div class="col-md-12">
								<div id="report_by_work_order">
								</div>
							</div>
						</div>
						<br>
						<br>

						<h4 class="text-center"><?php echo app_lang('mrp_work_centers'); ?></h4>
						<div class="row mtop15">
							<?php
							foreach ($work_centers as $key => $work_center) { ?>
								<?php 
								$template_id = 1;
								$status = app_lang('requested');
								$class = 'draftsts';
								
								?>
								<div class="col-md-4 col-lg-4 col-sm-6 item item-card-hira" data-observation="68">
									<div class="card item-card card-block">
											<div class="cardcoliner <?php echo html_entity_decode($class); ?>">
												<div class="catimg">

													<div class="cardworkertag">
														<span class="catdesc"><?php echo html_entity_decode($work_center['work_center_code']); ?></span><br>
														<span class="pull-left"><?php echo html_entity_decode($work_center['work_center_name']); ?></span>
													</div>
													
												</div>

												<div class="cattexts" data-template-id="<?php echo html_entity_decode($work_center['id']) ?>"
													data-staff-id="<?php echo html_entity_decode($work_center['id']) ?>"
													data-permit-id="<?php echo html_entity_decode($work_center['id']) ?>"
													data-worker-id="<?php echo html_entity_decode($work_center['id']) ?>">

													<div class="row">
														<div class="col-md-4">
															
															<div class="permitworkerdate">
																<div >
																	<button class="btn btn-sm btn-success"><?php echo app_lang('work_order_label'); ?></button>
																</div>
															</div>
														</div>

														<div class="col-md-8">
															<div class="col-md-12 panel-padding" >
																<table class="table  table-margintop">
																	<tbody>
																		<tr class="project-overview">
																			<td class="bold" width="70%"><?php echo app_lang('To_Launch'); ?></td>
																			<td class="text-right"><b><?php echo html_entity_decode( $work_center['ready']) ?></b></td>
																		</tr>
																		<tr class="project-overview">
																			<td class="bold" width="70%"><?php echo app_lang('In_Progress'); ?></td>
																			<td class="text-right"><b><?php echo html_entity_decode( $work_center['in_progress']) ?></b></td>
																		</tr>
																		<tr class="project-overview">
																			<td class="bold" width="70%"><?php echo app_lang('Late'); ?></td>
																			<td class="text-right"><b><?php echo html_entity_decode( $work_center['late']) ?></b></td>
																		</tr>
																		<tr class="project-overview hide">
																			<td class="bold" width="70%"><?php echo app_lang('OEE'); ?></td>
																			<td class="text-right"><b>1</b></td>
																		</tr>
																		

																	</tbody>
																</table>
															</div>
														</div>
													</div>
													
												</div>

											</div>
									</div>
								</div>
							<?php } ?>
						</div>
					</div>
				</div>
			</div>
		
	</div>
</div>
<!-- init_tail -->
<?php require 'plugins/Manufacturing/assets/js/dashboards/dashboard_js.php'; ?>

</body>
</html>