mirror of
https://github.com/atlanticbiomedical/portal-legacy.git
synced 2025-07-02 01:47:28 -04:00
initial commit
This commit is contained in:
39
apps/atlbiomed/modules/scheduler/templates/populateTechDisplaySuccess.php
Executable file
39
apps/atlbiomed/modules/scheduler/templates/populateTechDisplaySuccess.php
Executable file
@ -0,0 +1,39 @@
|
||||
<?php use_helper('Javascript'); ?>
|
||||
|
||||
<?php echo input_hidden_tag('schedule_date'); ?>
|
||||
<div id="techInfo">
|
||||
<div id="techMenu" style="padding: 4px">
|
||||
|
||||
<?php echo "<span style='height: 100%; display:table-cell;'>"; echo link_to_function('All', "selectTechSchedule('all')"); echo "</span>";
|
||||
|
||||
foreach($tech_info as $tech)
|
||||
{
|
||||
echo "<span style='padding-top: 0px; height: 20px; display:table-cell;' id = 'tech_id_".$tech->getId()."'>";
|
||||
echo link_to_function($tech->getFirstName().' '.$tech->getLastName(), "selectTechSchedule(".$tech->getId().")");
|
||||
echo "</span>";
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
</div>
|
||||
<div class="techSchedule">
|
||||
<?php
|
||||
$techCount = 0;
|
||||
|
||||
foreach($schedules as $schedule)
|
||||
{
|
||||
$techCount++;
|
||||
|
||||
include_partial('global/technicianSchedule', array('schedule' => $schedule, 'workorderCallbackFunction' => 'populateWorkorder'));
|
||||
|
||||
if ($techCount % 5 == 0){
|
||||
echo '</div><div class="techSchedule">';
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
<div id="techMap" style="float:left">
|
||||
<iframe frameborder="0" id="techMapDisplay"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user