コード例 #1
0
<table id="table_<?php 
echo widget_unique_identifier($node);
?>
" class="<?php 
echo $node->widgetConfig->gridConfig->html_class;
?>
">
  <thead>
    <tr>
        <th class='text'><?php 
echo WidgetUtil::generateLabelMapping("agency_name");
?>
</th>
        <th class='number'><?php 
echo WidgetUtil::generateLabelMapping("amount");
?>
</th>
        <th>&nbsp</th>
    </tr>
  </thead>
  <tbody>
  <?php 
if (isset($node->data) && is_array($node->data)) {
    foreach ($node->data as $datarow) {
        echo "<tr>";
        echo "<td><div>" . $datarow['agency_agency_agency_name'] . "</div></td>";
        echo "<td>" . ($isByGrossPay ? $datarow['total_gross_pay'] : $datarow['total_overtime_pay']) . "</td>";
        echo "<td>&nbsp</td>";
        echo "</tr>";
    }
コード例 #2
0
include_once 'page_title.php';
include_once 'export_link.php';
?>



<table id="table_<?php 
echo widget_unique_identifier($node);
?>
" class="<?php 
echo $node->widgetConfig->gridConfig->html_class;
?>
">
    <thead>
    <?php 
echo "<tr><th class='text'>" . WidgetUtil::generateLabelMapping("revenue_category") . "</th>\r\n        <th class='number'>" . WidgetUtil::generateLabelMapping("recognized") . " </th>\r\n        <th class='number'>" . WidgetUtil::generateLabelMapping("remaining") . "</th>\r\n        <th>&nbsp</th>        \r\n        </tr>\n";
?>
    </thead>

    <tbody>
    <?php 
foreach ($node->data as $datarow) {
    echo "<tr>";
    echo '<td>' . $datarow['category_category_revenue_category_name'] . '</td>';
    echo '<td>' . $datarow['revenue_amount_sum'] . '</td>';
    echo '<td>' . $datarow['remaining'] . '</td>';
    echo "<td>&nbsp</td>";
    echo "</tr>";
}
?>
    </tbody>
コード例 #3
0
*/
include_once 'budget_title.php';
include_once 'page_title.php';
include_once 'export_link.php';
?>

<table id="table_<?php 
echo widget_unique_identifier($node);
?>
" class="<?php 
echo $node->widgetConfig->gridConfig->html_class;
?>
">
    <thead>
    <?php 
echo "<tr><th class='text'>" . WidgetUtil::generateLabelMapping("dept_name") . "</th>\r\n        <th class='number'>" . WidgetUtil::generateLabelMapping("committed") . " </th>\r\n        <th class='number'>" . WidgetUtil::generateLabelMapping("remaining") . "</th>\r\n        <th>&nbsp</th>\r\n        </tr>\n";
?>
    </thead>

    <tbody>
<?php 
if (isset($node->data) && is_array($node->data)) {
    foreach ($node->data as $datarow) {
        echo "<tr>";
        echo '<td>' . $datarow['department_name_department_name'] . '</td>';
        echo '<td>' . $datarow['budget_committed'] . '</td>';
        echo '<td>' . $datarow['budget_remaining'] . '</td>';
        echo "<td>&nbsp</td>";
        echo "</tr>";
    }
}
コード例 #4
0
include_once 'budget_title.php';
include_once 'page_title.php';
include_once 'export_link.php';
?>


<table id="table_<?php 
echo widget_unique_identifier($node);
?>
" class="<?php 
echo $node->widgetConfig->gridConfig->html_class;
?>
">
    <thead>
    <?php 
echo "<tr><th class='number'>" . WidgetUtil::generateLabelMapping("fiscal_year") . "</th>\r\n        <th class='number'>" . WidgetUtil::generateLabelMapping("committed") . " </th>\r\n        <th class='number'>" . WidgetUtil::generateLabelMapping("remaining") . "</th>\r\n        <th>&nbsp</th>\r\n        </tr>\n";
?>
    </thead>

    <tbody>
    <?php 
if (isset($node->data) && is_array($node->data)) {
    foreach ($node->data as $datarow) {
        echo "<tr>";
        echo '<td>' . $datarow['year_year'] . '</td>';
        echo '<td>' . $datarow['budget_committed'] . '</td>';
        echo '<td>' . $datarow['budget_remaining'] . '</td>';
        echo "<td>&nbsp</td>";
        echo "</tr>";
    }
}
        <tr><th class='text'><?php 
echo WidgetUtil::generateLabelMapping("contract_id");
?>
</th>
            <th class='number-left'><?php 
echo WidgetUtil::generateLabelMapping("spending_amount");
?>
</th>
            <th>&nbsp;&nbsp;</th>
            <th class='text'><?php 
echo WidgetUtil::generateLabelMapping("prime_vendor");
?>
</th>
            <th class='text'><?php 
echo WidgetUtil::generateLabelMapping("contract_agency");
?>
</th>
            <th>&nbsp</th>
        </tr>

        </thead>

        <tbody>
        <?php 
if (isset($node->data) && is_array($node->data)) {
    foreach ($node->data as $datarow) {
        $vendor_name = $datarow['vendor_vendor_legal_name'];
        echo '<tr>
                <td><div>' . $datarow['document_id_document_id'] . '</div></td>
                <td>' . $datarow['check_amount_sum'] . '</td>
コード例 #6
0
include_once 'payroll_title.php';
include_once 'page_title.php';
include_once 'export_link.php';
?>

<table id="table_<?php 
echo widget_unique_identifier($node);
?>
" class="<?php 
echo $node->widgetConfig->gridConfig->html_class;
?>
">
    <thead>
      <tr>
            <th class='text'><?php 
echo WidgetUtil::generateLabelMapping("month");
?>
</th>
            <?php 
echo $hidePrevLabel ? "" : "<th class='number'><div><span>{$SeriesPreviousYearLabel}</span></div></th>";
?>
            <th class='number'><div><span><?php 
echo $SeriesCurrentYearLabel;
?>
</span></div></th>
            <th>&nbsp</th>
      </tr>
    </thead>
    <tbody>
    <?php 
$months = array();
コード例 #7
0
  <?php 
if (isset($node->widgetConfig->caption_column)) {
    echo '<caption>' . $node->data[0][$node->widgetConfig->caption_column] . '</caption>';
} else {
    if (isset($node->widgetConfig->caption)) {
        echo '<caption>' . $node->widgetConfig->caption . '</caption>';
    }
}
?>
  <thead>
  <?php 
echo "<tr>";
foreach ($node->widgetConfig->table_columns as $row) {
    if (check_node_flag_visibilty($row->visibility_flag, $node)) {
        if (!isset($row->datasource) || isset($row->datasource) && $row->datasource == _getRequestParamValue('datasource')) {
            $label = isset($row->labelAlias) ? WidgetUtil::generateLabelMapping($row->labelAlias) : $row->label;
            $fn = $row->adjustLabelFunction;
            if (isset($fn) && function_exists($fn)) {
                $label = $fn($label);
            } else {
                if (isset($row->evalLabel) && $row->evalLabel) {
                    $label = eval("return {$row->label};");
                }
            }
            $headerClass = $row->headerClass ? ' class="' . $row->headerClass . '"' : '';
            echo "<th{$headerClass}>" . $label . "</th>";
        }
    }
}
echo "</tr>\n";
?>
コード例 #8
0
include_once 'page_title.php';
include_once 'export_link.php';
?>



<table id="table_<?php 
echo widget_unique_identifier($node);
?>
" class="<?php 
echo $node->widgetConfig->gridConfig->html_class;
?>
">
    <thead>
    <?php 
echo "<tr><th class='number'>" . WidgetUtil::generateLabelMapping("year") . "</th>\r\n        <th class='number'>" . WidgetUtil::generateLabelMapping("recognized") . " </th>\r\n        <th class='number'>" . WidgetUtil::generateLabelMapping("remaining") . "</th>\r\n        <th>&nbsp</th>        \r\n        </tr>\n";
?>
    </thead>

    <tbody>
    <?php 
foreach ($node->data as $datarow) {
    echo "<tr>";
    echo '<td>' . $datarow['year_year_year_value'] . '</td>';
    echo '<td>' . $datarow['revenue_amount_sum'] . '</td>';
    echo '<td>' . $datarow['remaining'] . '</td>';
    echo "<td>&nbsp</td>";
    echo "</tr>";
}
?>
    </tbody>
コード例 #9
0
<table id="table_<?php 
echo widget_unique_identifier($node);
?>
" class="<?php 
echo $node->widgetConfig->gridConfig->html_class;
?>
">
  <thead>
    <tr>
        <th class='text'><?php 
echo WidgetUtil::generateLabelMapping("prime_vendor");
?>
</th>
        <th class='number'><?php 
echo WidgetUtil::generateLabelMapping("spending_amount");
?>
</th>
        <th>&nbsp</th>
    </tr>
  </thead>
  <tbody>
  <?php 
if (isset($node->data) && is_array($node->data)) {
    foreach ($node->data as $datarow) {
        echo "<tr>";
        echo "<td><div>" . $datarow['prime_vendor_prime_vendor_legal_name'] . "</div></td>";
        echo "<td>" . $datarow['check_amount_sum'] . "</td>";
        echo "<td>&nbsp</td>";
        echo "</tr>";
    }
コード例 #10
0
  <thead>
    <tr>

        <?php 
if ($isAgencyPage) {
    echo "<th class='text'>" . WidgetUtil::generateLabelMapping("contract_agency") . "</th>";
} else {
    echo "<th class='text'>" . WidgetUtil::generateLabelMapping("prime_vendor") . "</th>";
}
?>
      <th class='number'><?php 
echo WidgetUtil::generateLabelMapping("no_of_contracts");
?>
</th>
      <th class='number'><?php 
echo WidgetUtil::generateLabelMapping("current_amount");
?>
</th>
      <th>&nbsp</th>
    </tr>
  </thead>
  <tbody>
  <?php 
if (isset($node->data) && is_array($node->data)) {
    foreach ($node->data as $datarow) {
        echo "<tr>";
        echo "<td><div>" . $datarow[$rowname] . "</div></td>";
        echo "<td>" . $datarow['total_contracts'] . "</td>";
        echo "<td>" . $datarow['current_amount_sum'] . "</td>";
        echo '<td>&nbsp</td>';
        echo "</tr>";
コード例 #11
0
 echo "<tr id='showHidemashis" . $key . "' class='showHide " . $class1 . "' " . $showCondition . ">";
 $showCondition = "style='display:none'";
 echo "<td colspan='4' >";
 echo "<div class='scroll'>";
 echo "<table class='sub-table col9'>";
 //For IE9, tables cannot have line breaks between table elements
 echo "<thead><tr>";
 echo "<th class='number thVNum'>" . WidgetUtil::generateLabelMapping("version_number") . "</th>";
 echo "<th class='text thStartDate'>" . WidgetUtil::generateLabelMapping("start_date") . "</th>";
 echo "<th class='text thEndDate'>" . WidgetUtil::generateLabelMapping("end_date") . "</th>";
 echo "<th class='text thRegDate'>" . WidgetUtil::generateLabelMapping("reg_date") . "</th>";
 echo "<th class='text thLastMDate'>" . WidgetUtil::generateLabelMapping("last_mod_date") . "</th>";
 echo "<th class='number thCurAmt'>" . WidgetUtil::generateLabelMapping("current_amount") . "</th>";
 echo "<th class='number thOrigAmt'>" . WidgetUtil::generateLabelMapping("original_amount") . "</th>";
 echo "<th class='number thIncDec'>" . WidgetUtil::generateLabelMapping("increase_decrease") . "</th>";
 echo "<th class='text thVerStat'>" . WidgetUtil::generateLabelMapping("version_status") . "</th>";
 echo "</tr></thead><tbody>";
 $count = 0;
 foreach ($items as $item) {
     if ($count % 2 == 0) {
         $class = "class=\"inner odd\"";
     } else {
         $class = "class=\"inner even\"";
     }
     echo "<tr " . $class . ">";
     echo "<td class='number thVNum'><div>" . $item['document_version'] . "</div></td>";
     echo "<td class='text thStartDate'><div>" . $item['start_date'] . "</div></td>";
     echo "<td class='text thEndDate'><div>" . $item['end_date'] . "</div></td>";
     echo "<td class='text thRegDate'><div>" . $reg_date . "</div></td>";
     if (isset($item['cif_received_date'])) {
         echo "<td class='text thLastMDate'><div>" . $item['cif_received_date'] . "</div></td>";
コード例 #12
0
 $curr_amount_sum = 0;
 foreach ($items as $item) {
     $curr_amount_sum = $item['maximum_contract_amount'];
     $orig_amount_sum = $item['original_contract_amount'];
     break;
 }
 echo "<td class='number'><div>" . custom_number_formatter_format($curr_amount_sum, 2, '$') . "</div></td>";
 echo "<td class='number endCol'><div>" . custom_number_formatter_format($orig_amount_sum, 2, '$') . "</div></td>";
 echo "</tr>";
 $count1 += 1;
 echo "<tr id='showHidectahis" . $key . "' class='showHide " . $class1 . "' " . $showCondition . ">";
 $showCondition = "style='display:none'";
 echo "<td colspan='4' >";
 echo "<div class='scroll'>";
 echo "<table class='sub-table col9'>";
 echo "<thead>\n                  <tr>\n                    <th class='number thVNum'>" . WidgetUtil::generateLabelMapping("version_number") . "</th>\n                    <th class='text thStartDate'>" . WidgetUtil::generateLabelMapping("start_date") . "</th>\n                    <th class='text thEndDate'>" . WidgetUtil::generateLabelMapping("end_date") . "</th>\n                    <th class='text thRegDate'>" . WidgetUtil::generateLabelMapping("reg_date") . "</th>\n                    <th class='text thLastMDate'>" . WidgetUtil::generateLabelMapping("last_mod_date") . "</th>\n                    <th class='number thCurAmt'>" . WidgetUtil::generateLabelMapping("current_amount") . "</th>\n                    <th class='number thOrigAmt'>" . WidgetUtil::generateLabelMapping("original_amount") . "</th>\n                    <th class='number thIncDec'>" . WidgetUtil::generateLabelMapping("increase_decrease") . "</th>\n                    <th class='text thVerStat status'>" . WidgetUtil::generateLabelMapping("version_status") . "</th>\n                  </tr></thead><tbody>";
 $count = 0;
 foreach ($items as $item) {
     if ($count % 2 == 0) {
         $class = "class=\"odd\"";
     } else {
         $class = "class=\"even\"";
     }
     echo "<tr " . $class . ">";
     echo "<td class='number thVNum' ><div>" . $item['document_version'] . "</div></td>";
     echo "<td class='text thStartDate'><div>" . $item['start_date'] . "</div></td>";
     echo "<td class='text thEndDate'><div>" . $item['end_date'] . "</div></td>";
     echo "<td class='text thRegDate'><div>" . $reg_date . "</div></td>";
     if (isset($item['cif_received_date'])) {
         echo "<td class='text thLastMDate'><div>" . $item['cif_received_date'] . "</div></td>";
     } elseif (trim($item['document_version']) == "1") {
コード例 #13
0
 echo "<td class='text'><div><a class=\"showHide {$showClass}\"></a> FY " . $key . "</div></td>";
 echo "<td class='text'><div>" . count($items) . " Transactions</div></td>";
 $showClass = 'open';
 $check_amount_sum = 0;
 foreach ($items as $item) {
     $check_amount_sum += $item['check_amount'];
 }
 echo "<td class='number endCol'><div>" . custom_number_formatter_format($check_amount_sum, 2, '$') . "</div></td>";
 echo "</tr>";
 $count1 += 1;
 echo "<tr id='showHidectaspe" . $key . "' class='showHide " . $class1 . "' " . $showCondition . ">";
 $showCondition = "style='display:none'";
 echo "<td colspan='3' >";
 echo "<div class='scroll'>";
 echo "<table class='sub-table col6'>";
 echo "<thead><tr><th class='text th1'><div><span>Date</span></div></th>\n                           <th class='text th2'>" . WidgetUtil::generateLabelMapping("document_id") . "</th>\n                           <th class='number th3'>" . WidgetUtil::generateLabelMapping("check_amount") . "</th>\n                           <th class='text th4'>" . WidgetUtil::generateLabelMapping("expense_category") . "</th>\n                           <th class='text th5'>" . WidgetUtil::generateLabelMapping("agency_name") . "</th>\n                           <th class='text th6'>" . WidgetUtil::generateLabelMapping("dept_name") . "</th></tr></thead><tbody>";
 $count = 0;
 foreach ($items as $item) {
     if ($count % 2 == 0) {
         $class = "class=\"odd\"";
     } else {
         $class = "class=\"even\"";
     }
     echo "<tr " . $class . ">";
     echo "<td class='text td1'><div>" . $item['date@checkbook:date_id/check_eft_issued_date_id@checkbook:disbursement_line_item_details'] . "</div></td>";
     echo "<td class='text td2'><div>" . $item['document_id'] . "</div></td>";
     echo "<td class='number td3'><div>" . custom_number_formatter_format($item['check_amount'], 2, '$') . "</div></td>";
     echo "<td class='text td4'><div>" . $item['expenditure_object_name'] . "</div></td>";
     echo "<td class='text td5'><div>" . $item['agency_name'] . "</div></td>";
     echo "<td class='text td6'><div>" . $item['department_name'] . "</div></td>";
     echo "</tr>";