1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<h2>Scenario Facility Groups</h2><br>
<?php
if(!isset($group_id)) $group_id = 'none';
$existingFgroups = false;
if (count($scenarioFacilityGroups) > 0) {
$existingFgroups = true;
include_partial('facilityGroupTable', array('scenarioFacilityGroups' => $scenarioFacilityGroups, 'scenarioName' => $scenarioName, 'group_id' => $group_id));
} else {
echo '<h3>There are no facility groups associated with the <span class="highlightedText">' . $scenarioName . '</span> scenario</h3><br />';
}
if(isset($group_id)){
if(is_numeric($group_id)){
$groupAction = 'Edit';
}
else{
$groupAction = 'Create a New';
}
}
?>
<h3><?php echo $groupAction ?> Facility Group for the <span class="highlightedText"><?php echo $scenarioName;
?> </span> Scenario</h3>
<p>Facility Groups are actually groupings of facility resources. To create a facility group name
the group, assign the group type, allocation status, and the order in which is should be activated
(activation sequence).</p>
<p><b>Note:</b> Facility resources should be created in the facility module. If there are no records
below use the "Plan" menu above to reach the Facility menu and add your facilities to Agasti.</p>
<div>
<?php include_partial('groupform', array('groupform' => $groupform, 'ag_facility_resources' => $ag_facility_resources, 'ag_allocated_facility_resources' => $ag_allocated_facility_resources, 'scenario_id' => $scenario_id, 'existingFgroups' => $existingFgroups)) ?>
</div>
<p>Click "Save" to continue editing this group. Click "Save and Continue" to save this group and
move to the next step. Click "Save and Create Another" to save this grouping and create another
grouping.</p>
<b>Note:</b> facilities not grouped will not be available for activation when the Scenario is
deployed as an event.
|