SuperOrders 154 Beta / v4.0.10? (2/2/2015) Problems
admin\super_data_sheet.php line ?
```
<td class="printMain"><?php echo zen_datetime_long($order->info['date_purchased']); ?></td>
```
did not return anything (ie blank space), whereas
```
<td class="printMain"><?php echo zen_date_long($order->info['date_purchased']); ?></td>
```
returns long date (Monday 08 June, 2015) but not time of order.
Q1: Whether function zen_datetime_long works, especially with UK time format set in admin/languages/english.php
admin\includes\functions\extra_functions\super_orders_functions.php - line 303
function zen_datetime_long($raw_date = 'now') {
if ( ($raw_date == '0001-01-01 00:00:00') || ($raw_date == '') ) return false;
elseif ($raw_date == 'now') {
$raw_date = date('Y-m-d H:i:s');
}
$year = (int)substr($raw_date, 0, 4);
$month = (int)substr($raw_date, 5, 2);
$day = (int)substr($raw_date, 8, 2);
$hour = (int)substr($raw_date, 11, 2);
$minute = (int)substr($raw_date, 14, 2);
$second = (int)substr($raw_date, 17, 2);
return strftime('%b %d, %Y %r', mktime($hour, $minute, $second, $month, $day, $year));
}
Q2:What is the data sheet to be used for?.
Q3 How do we get invoices to print as pdfs.
Q4 If I enter alphanumeric into Admin > Configuration > SuperOrders >Tax Exemption ID Number and then view or refresh an invoice, the entry under Tax in the order details table shows "Tax Exempt" as expected, but a tax amount is still shown against Tax in the row immediately above the Total row when it should show nothing or $0.00.
Thanks