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:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user