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:
50
apps/atlbiomed/modules/maps/templates/indexSuccess.php
Executable file
50
apps/atlbiomed/modules/maps/templates/indexSuccess.php
Executable file
@ -0,0 +1,50 @@
|
||||
<?php use_helper('Javascript') ?>
|
||||
<?php use_helper('Object') ?>
|
||||
|
||||
<div class="content" style="padding: 5px;">
|
||||
<div class="mapsCollapsingPanelContainer">
|
||||
<?php echo form_tag('maps/index'); ?>
|
||||
<?php include_partial('global/collapsingDivContainer',
|
||||
array('title' => 'Filter by Status',
|
||||
'uniqueId' => 'filterByStatus',
|
||||
'content' => object_select_tag($bogusWorkOrder, 'getJobStatusId', 'include_custom=All', ''))); ?>
|
||||
|
||||
<?php include_partial('global/collapsingDivContainer',
|
||||
array('title' => 'Filter by Job Type',
|
||||
'uniqueId' => 'filterByJType',
|
||||
'content' => object_select_tag($bogusWorkOrder, 'getJobTypeId', 'include_custom=All', ''))); ?>
|
||||
|
||||
<?php include_partial('global/collapsingDivContainer',
|
||||
array('title' => 'Filter by Technician',
|
||||
'uniqueId' => 'filterByTechnician',
|
||||
'content' => select_tag('technicianId',
|
||||
options_for_select($technicians,
|
||||
$bogusWorkOrder->getTech(),
|
||||
'include_custom=All')))); ?>
|
||||
|
||||
<?php include_partial('global/collapsingDivContainer',
|
||||
array('title' => 'Filter by Date',
|
||||
'uniqueId' => 'filterByDate',
|
||||
'content' => get_partial('mapDateFilterControl',
|
||||
array('initialDate' => $dateFilter,
|
||||
'dateFilterType' => $dateFilterType)))); ?>
|
||||
|
||||
<div class="mapsCollapsingPanelContainerControl">
|
||||
<?php echo submit_tag('Filter'); ?>
|
||||
</div>
|
||||
|
||||
<div class="mapsCollapsingPanelContainerControl">
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<div class="mapsCollapsingPanelContainerControl">
|
||||
<h3><?php echo link_to('View all Client Locations', 'maps/index?viewMode=1'); ?></h3>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
|
||||
<div style="float: left; display: inline; border: 1px solid black;">
|
||||
<?php include_component('maps', 'displayTechnicianMap', array('markers' => $markers, 'mapwidth' => '800px')); ?>
|
||||
</div>
|
||||
</div>
|
Reference in New Issue
Block a user