I am trying to display the pickup date and time on invoices. I need the pickup time to be 15 minutes less the order_delivery_date_time. Any help is appreciated. Thanks
if ($order->info['order_delivery_date_time'] > '00:00:01') {
$pos = $pdf->ezText("<b>" . PDFOC_TEXT_ORDER_DATE . " </b>" . zen_date_short($order->info['order_delivery_date_day']) . " " . convert24to12($order->info['order_delivery_date_time']));
} else {
$pos = $pdf->ezText("<b>" . PDFOC_TEXT_ORDER_DATE . " </b>" . zen_date_short($order->info['order_delivery_date_day']) . " " . "ASAP");
}



Reply With Quote



Bookmarks