fix: React admin icon imports and mount point rendering

- Fix all @wordpress/icons imports - use build/ paths and call as functions
- Update all admin pages to render React mount points
- Components fixed: VariationPricingTable, NotificationLog, GlobalSettings,
  FormFieldOptions, OrderDetail, OrderListItem, OrderList, FormCanvas,
  AnalyticsDashboard, FormField, Products
- Admin pages updated: Order.php, Customer.php, Coupon.php, License.php,
  Product.php, Access.php, Form.php

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
dwindown
2026-04-18 13:28:57 +07:00
parent 6fd6d29fe8
commit ab69d03f78
25 changed files with 21577 additions and 14586 deletions

View File

@@ -219,14 +219,7 @@ class Customer {
}
public function customers_page() {
$customer_id = intval(filter_input(INPUT_GET, 'customer_id', FILTER_SANITIZE_STRING));
if(empty($customer_id)){
include FORMIPAY_PATH . 'admin/page-customers.php';
}else{
include FORMIPAY_PATH . 'admin/page-customer-details.php';
}
\Formipay\Admin\ReactAdmin::render_mount_point('customers');
}
public function formipay_tabledata_customers() {