@@ -57,14 +57,14 @@ function plugin_order_install()
5757 $ migration = new Migration (PLUGIN_ORDER_VERSION );
5858 $ classes = ['PluginOrderConfig ' , 'PluginOrderBillState ' , 'PluginOrderBillType ' ,
5959 'PluginOrderOrderState ' , 'PluginOrderOrder ' ,'PluginOrderOrder_Item ' ,
60- 'PluginOrderReference ' , 'PluginOrderDeliveryState ' ,
60+ 'PluginOrderReference ' , 'PluginOrderDeliverystate ' ,
6161 'PluginOrderNotificationTargetOrder ' ,
6262 'PluginOrderOrder_Supplier ' , 'PluginOrderBill ' , 'PluginOrderOrderPayment ' ,
63- 'PluginOrderOrderType ' , 'PluginOrderOther ' , 'PluginOrderOtherType ' ,
63+ 'PluginOrderOrdertype ' , 'PluginOrderOther ' , 'PluginOrderOthertype ' ,
6464 'PluginOrderPreference ' , 'PluginOrderProfile ' , 'PluginOrderReference_Supplier ' ,
6565 'PluginOrderSurveySupplier ' , 'PluginOrderOrderTax ' , 'PluginOrderDocumentCategory ' ,
66- 'PluginOrderReferenceFree ' , 'PluginOrderAccountSection ' ,
67- 'PluginOrderAnalyticNature ' ,
66+ 'PluginOrderReferenceFree ' , 'PluginOrderAccountsection ' ,
67+ 'PluginOrderAnalyticnature ' ,
6868 ];
6969 foreach ($ classes as $ class ) {
7070 if ($ plug = isPluginItemType ($ class )) {
@@ -122,13 +122,13 @@ function plugin_order_uninstall()
122122
123123 $ classes = ['PluginOrderConfig ' , 'PluginOrderBill ' , 'PluginOrderBillState ' ,
124124 'PluginOrderBillType ' , 'PluginOrderOrderState ' , 'PluginOrderOrder ' ,
125- 'PluginOrderOrder_Item ' , 'PluginOrderReference ' , 'PluginOrderDeliveryState ' ,
125+ 'PluginOrderOrder_Item ' , 'PluginOrderReference ' , 'PluginOrderDeliverystate ' ,
126126 'PluginOrderNotificationTargetOrder ' ,
127127 'PluginOrderOrder_Supplier ' , 'PluginOrderOrderPayment ' ,'PluginOrderOrderTax ' ,
128- 'PluginOrderOrderType ' , 'PluginOrderOther ' , 'PluginOrderOtherType ' ,
128+ 'PluginOrderOrdertype ' , 'PluginOrderOther ' , 'PluginOrderOthertype ' ,
129129 'PluginOrderPreference ' , 'PluginOrderProfile ' , 'PluginOrderReference_Supplier ' ,
130130 'PluginOrderSurveySupplier ' , 'PluginOrderDocumentCategory ' ,
131- 'PluginOrderAccountSection ' , 'PluginOrderAnalyticNature ' ,
131+ 'PluginOrderAccountsection ' , 'PluginOrderAnalyticnature ' ,
132132 ];
133133 foreach ($ classes as $ class ) {
134134 call_user_func ([$ class , 'uninstall ' ]);
@@ -146,14 +146,14 @@ function plugin_order_getDropdown()
146146 if ($ plugin ->isActivated ("order " )) {
147147 return ['PluginOrderOrderTax ' => __s ("VAT " , "order " ),
148148 'PluginOrderOrderPayment ' => __s ("Payment conditions " , "order " ),
149- 'PluginOrderOrderType ' => __s ("Type " ),
149+ 'PluginOrderOrdertype ' => __s ("Type " ),
150150 'PluginOrderOrderState ' => __s ("Order status " , "order " ),
151- 'PluginOrderOtherType ' => __s ("Other type of item " , "order " ),
152- 'PluginOrderDeliveryState ' => __s ("Delivery status " , "order " ),
151+ 'PluginOrderOthertype ' => __s ("Other type of item " , "order " ),
152+ 'PluginOrderDeliverystate ' => __s ("Delivery status " , "order " ),
153153 'PluginOrderBillState ' => __s ("Bill status " , "order " ),
154154 'PluginOrderBillType ' => __s ("Bill type " , "order " ),
155- 'PluginOrderAnalyticNature ' => __s ("Analytic nature " , "order " ),
156- 'PluginOrderAccountSection ' => __s ("Account section " , "order " ),
155+ 'PluginOrderAnalyticnature ' => __s ("Analytic nature " , "order " ),
156+ 'PluginOrderAccountsection ' => __s ("Account section " , "order " ),
157157 'PluginOrderDocumentCategory ' => __s ("Orders " , "order " ),
158158 ];
159159 } else {
0 commit comments