From 2a3f2f8245258ea13ef451da519382a704878115 Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Fri, 2 Nov 2018 11:21:19 +0100 Subject: [PATCH] fix formatting --- .../class-wiaas-admin-delivery-process-flow.php | 1 - .../delivery-process/views/html-order-global-delivery-date.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/app/plugins/wiaas/includes/admin/delivery-process/class-wiaas-admin-delivery-process-flow.php b/backend/app/plugins/wiaas/includes/admin/delivery-process/class-wiaas-admin-delivery-process-flow.php index 1598770..158ab18 100644 --- a/backend/app/plugins/wiaas/includes/admin/delivery-process/class-wiaas-admin-delivery-process-flow.php +++ b/backend/app/plugins/wiaas/includes/admin/delivery-process/class-wiaas-admin-delivery-process-flow.php @@ -29,7 +29,6 @@ class Wiaas_Admin_Order_Process_Flow { public static function add_custom_fields_after_order_details($order){ $global_estimated_delivery_date = Wiaas_Order::get_global_estimated_date($order->id); - $formated_global_estimated_delivery_date = $global_estimated_delivery_date ? date("Y-m-d", $global_estimated_delivery_date) : ""; $order_id = $order->id; require 'views/html-order-global-delivery-date.php'; diff --git a/backend/app/plugins/wiaas/includes/admin/delivery-process/views/html-order-global-delivery-date.php b/backend/app/plugins/wiaas/includes/admin/delivery-process/views/html-order-global-delivery-date.php index dc8d28a..ecfaeaf 100644 --- a/backend/app/plugins/wiaas/includes/admin/delivery-process/views/html-order-global-delivery-date.php +++ b/backend/app/plugins/wiaas/includes/admin/delivery-process/views/html-order-global-delivery-date.php @@ -7,7 +7,7 @@ if ( ! defined( 'ABSPATH' ) ) {

" onChange="onGlobalEstimatedDeliveryDateChange(this.value)"/>