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)"/>