Exemple #1
0
?>

<?php 
include $this->snippet(JPATH_SITE . DS . 'components' . DS . 'com_fss' . DS . 'views' . DS . 'ticket' . DS . 'snippet' . DS . '_tabbar.php');
?>

<?php 
FSS_Helper::HelpText("support_user_view_header");
?>

<?php 
if (!FSS_Settings::get('user_hide_print')) {
    ?>
	
	<?php 
    $prints = Support_Print::getPrintList(true, $this->ticket_obj);
    if (count($prints) > 0) {
        ?>
		<div class="pull-right btn-group" style="z-index: 10;display: none;">
			<a class="btn btn-default dropdown-toggle" data-toggle="dropdown" href="#">
				<i class="icon-print"></i> <?php 
        echo JText::_("Print");
        ?>
 
				<span class="caret"></span>
			</a>
			<ul class="dropdown-menu">
				<li>
					<a href='<?php 
        echo FSSRoute::_('index.php?option=com_fss&view=ticket&what=print&tmpl=component&ticketid=' . $this->ticket['id']);
        ?>
Exemple #2
0
<?php 
$this->print = true;
?>

<?php 
if ($custom_print) {
    ?>

	<?php 
    // need to convert the ticket to a SupportTicket class for the print
    $this->ticket = $this->ticket_obj;
    ?>
	
	<?php 
    $file = Support_Print::outputPrint($template, $custom_print);
    ?>
	<?php 
    include $file;
    ?>

<?php 
} else {
    ?>
	
	<div class="fss_main">
	<table class='table table-borderless table-condensed table-narrow' style="min-width:300px" >

		<tr>
			<th><?php 
    echo JText::_("TITLE");