mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
"Availability" tab bug fix
This commit is contained in:
@@ -227,6 +227,7 @@ $ref = $scr['referral'];
|
|||||||
$ca = get_call_attempt($operator_id,true);
|
$ca = get_call_attempt($operator_id,true);
|
||||||
$call_id = get_call($operator_id);
|
$call_id = get_call($operator_id);
|
||||||
$appointment = false;
|
$appointment = false;
|
||||||
|
$availability = is_using_availability($case_id);
|
||||||
if ($ca)
|
if ($ca)
|
||||||
{
|
{
|
||||||
$appointment = is_on_appointment($ca);
|
$appointment = is_on_appointment($ca);
|
||||||
@@ -324,6 +325,14 @@ xhtml_object($data,"main-content");
|
|||||||
</div>
|
</div>
|
||||||
<?php }?>
|
<?php }?>
|
||||||
|
|
||||||
|
<?php if ($availability) { ?>
|
||||||
|
<div class="tabbertab <?php if ((DEFAULT_TAB == 'availability' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'availability' && $appointment))
|
||||||
|
print "tabbertabdefault"; ?>">
|
||||||
|
<h2><?php echo T_("Availability"); ?></h2>
|
||||||
|
<div id="div-casenotes" class="tabberdiv"><?php xhtml_object("availability.php","main-casenotes");?></div>
|
||||||
|
</div>
|
||||||
|
<?php }?>
|
||||||
|
|
||||||
<?php if (TAB_CONTACTDETAILS) { ?>
|
<?php if (TAB_CONTACTDETAILS) { ?>
|
||||||
<div class="tabbertab <?php if ((DEFAULT_TAB == 'contactdetails' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'contactdetails' && $appointment))
|
<div class="tabbertab <?php if ((DEFAULT_TAB == 'contactdetails' && !$appointment) || (DEFAULT_TAB_APPOINTMENT == 'contactdetails' && $appointment))
|
||||||
print "tabbertabdefault"; ?>">
|
print "tabbertabdefault"; ?>">
|
||||||
|
|||||||
Reference in New Issue
Block a user