From 01b35dbac590cd593a1d837fe0598f77994ac454 Mon Sep 17 00:00:00 2001 From: Bilal Catic Date: Sat, 3 Nov 2018 05:29:37 +0100 Subject: [PATCH] rename --- .../class-wiaas-admin-delivery-process-flow.php | 6 +++--- ...-delivery-date.php => html-order-delivery-date.php} | 10 +++++----- ...tes.php => html-order-suppliers-delivery-dates.php} | 0 .../wiaas-admin-delivery-process-ajax.php | 8 ++++---- .../app/plugins/wiaas/includes/class-wiaas-cart.php | 2 +- .../app/plugins/wiaas/includes/class-wiaas-order.php | 8 ++++---- 6 files changed, 17 insertions(+), 17 deletions(-) rename backend/app/plugins/wiaas/includes/admin/delivery-process/views/{html-order-global-delivery-date.php => html-order-delivery-date.php} (70%) rename backend/app/plugins/wiaas/includes/admin/delivery-process/views/{html-order-delivery-dates.php => html-order-suppliers-delivery-dates.php} (100%) 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 efe7acd..bb43021 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 @@ -27,7 +27,7 @@ class Wiaas_Admin_Order_Process_Flow { $final_confirmed_date = Wiaas_Order::get_final_confirmed_date($order_id); $earliest_installation_date = Wiaas_Order::get_earliest_installation_date($order_id); - require 'views/html-order-delivery-dates.php'; + require 'views/html-order-suppliers-delivery-dates.php'; } public static function add_process_flow_meta_box(){ @@ -64,10 +64,10 @@ 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); + $order_estimated_delivery_date = Wiaas_Order::get_order_estimated_date($order->id); $order_id = $order->id; - require 'views/html-order-global-delivery-date.php'; + require 'views/html-order-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-delivery-date.php similarity index 70% rename from backend/app/plugins/wiaas/includes/admin/delivery-process/views/html-order-global-delivery-date.php rename to backend/app/plugins/wiaas/includes/admin/delivery-process/views/html-order-delivery-date.php index ecfaeaf..10f6ec7 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-delivery-date.php @@ -7,12 +7,12 @@ if ( ! defined( 'ABSPATH' ) ) {

" - onChange="onGlobalEstimatedDeliveryDateChange(this.value)"/> + type="date" value="" + onChange="onOrderEstimatedDeliveryDateChange(this.value)"/>