so, there is an arry in the billing_excel.php
Code: Select all
# get the fields list
$t_field_name_arr = array( lang_get( 'id' ), lang_get( 'summary' ), lang_get( 'username' ), lang_get( 'time_tracking' ), lang_get( 'time_tracking_cost' );Code: Select all
# get the fields list
$t_field_name_arr = array( lang_get( 'id' ), lang_get( 'severity' ), lang_get( 'priority' ), lang_get( 'summary' ), lang_get( 'username' ), lang_get( 'time_tracking' ), lang_get( 'time_tracking_cost' ), lang_get( 'date_submitted' ), lang_get( 'updated' ) );i also add the related rows in the billing_excel.php
Code: Select all
<Row>
<Cell><Data ss:Type="Number"><?php echo $t_item['bug_id']; ?></Data></Cell>
<Cell><Data ss:Type="String"><?php echo $t_item['severity']; ?></Data></Cell>
<Cell><Data ss:Type="String"><?php echo $t_item['bug_priority']; ?></Data></Cell>
<Cell><Data ss:Type="String"><?php echo $t_item['summary']; ?></Data></Cell>
<Cell><Data ss:Type="String"><?php echo $t_item['username']; ?></Data></Cell>
<Cell><Data ss:Type="Number"><?php echo $t_item['sum_time_tracking']; ?></Data></Cell>
<?php if ($t_cost_col) { ?>
<Cell><Data ss:Type="Number"><?php echo string_attribute( number_format( $t_item['cost'], 2 ) ); ?></Data></Cell>
<?php } ?>
<Cell ss:StyleID="Date"><Data ss:Type="DateTime"><?php echo $t_item['date_submitted']; ?></Data></Cell>
i know, i have to add the specific date format in the <styles> section
Code: Select all
<Style ss:ID="Date">
<NumberFormat ss:Format="Short Date" />
</Style>any ideas?
regards.