mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-03-05 15:48:35 -05:00
I've added in this commit the following: - the means to configure date and time format - date and time is shown with the selected formats - a locale tab in the configuration page - changed location tab to be stock tab and the same for the file names - translation strings (only English) for the case NOTE 1: Not related to Locale support but I removed an extra <div class="field_row clearfix"> from general_config.php NOTE 2: There is no rules in the submit checks of Locale. Probably this is something to iron out a bit NOTE 3: It would be probably nice to add a button in the Locale tab to regenerate all the translation files in case somebody updates the translations .csv Fixed Local config - Removed text in Red as really not mandatory configuration - Added time format in 24h and 12h Updated General Config tab - reorganised the layout grouping things like company info, taxes and invoice formating - increased the limit of max lines per page to 1000 because 50 is too little. People can do what they want with up to 1000
46 lines
1.2 KiB
PHP
46 lines
1.2 KiB
PHP
<table id="suspended_sales_table">
|
|
<tr>
|
|
<th><?php echo $this->lang->line('sales_suspended_sale_id'); ?></th>
|
|
<th><?php echo $this->lang->line('sales_date'); ?></th>
|
|
<th><?php echo $this->lang->line('sales_customer'); ?></th>
|
|
<th><?php echo $this->lang->line('sales_comments'); ?></th>
|
|
<th><?php echo $this->lang->line('sales_unsuspend_and_delete'); ?></th>
|
|
</tr>
|
|
|
|
<?php
|
|
foreach ($suspended_sales as $suspended_sale)
|
|
{
|
|
?>
|
|
<tr>
|
|
<td><?php echo $suspended_sale['sale_id'];?></td>
|
|
<td><?php echo date($this->config->item('dateformat'),strtotime($suspended_sale['sale_time']));?></td>
|
|
<td>
|
|
<?php
|
|
if (isset($suspended_sale['customer_id']))
|
|
{
|
|
$customer = $this->Customer->get_info($suspended_sale['customer_id']);
|
|
echo $customer->first_name. ' '. $customer->last_name;
|
|
}
|
|
else
|
|
{
|
|
?>
|
|
|
|
<?php
|
|
}
|
|
?>
|
|
</td>
|
|
<td><?php echo $suspended_sale['comment'];?></td>
|
|
<td>
|
|
<?php
|
|
echo form_open('sales/unsuspend');
|
|
echo form_hidden('suspended_sale_id', $suspended_sale['sale_id']);
|
|
?>
|
|
<input type="submit" name="submit" value="<?php echo $this->lang->line('sales_unsuspend'); ?>" id="submit" class="submit_button float_right"></td>
|
|
</form>
|
|
</tr>
|
|
<?php
|
|
}
|
|
|
|
?>
|
|
|
|
</table>
|