| @@ -31,8 +31,9 @@ | ||
| 31 | 31 | use FluentCart\App\Services\Filter\CustomerFilter; |
| 32 | 32 | use FluentCart\App\Services\Filter\CouponFilter; |
| 33 | 33 | use FluentCart\App\Services\Filter\LogFilter; |
| 34 | 34 | use FluentCart\App\Services\Filter\OrderBumpFilter; |
| 35 | +use FluentCart\App\Services\Filter\ReviewFilter; | |
| 35 | 36 | use FluentCart\App\Modules\Shipping\Services\Filter\ShippingClassFilter; |
| 36 | 37 | use FluentCart\App\Modules\Shipping\Services\Filter\ShippingZoneFilter; |
| 37 | 38 | use FluentCart\App\Modules\Integrations\AddOnModule; |
| 38 | 39 | use FluentCart\App\Services\DateTime\DayjsFormatter; |
| @@ -88,8 +89,9 @@ | ||
| 88 | 89 | $targetKeys = [ |
| 89 | 90 | 'checkout_page_id' => __('Checkout Page', 'fluent-cart'), |
| 90 | 91 | 'cart_page_id' => __('Cart Page', 'fluent-cart'), |
| 91 | 92 | 'receipt_page_id' => __('Receipt Page', 'fluent-cart'), |
| 93 | + 'order_review_page_id' => __('Order Review Page', 'fluent-cart'), | |
| 92 | 94 | 'shop_page_id' => __('Shop Page', 'fluent-cart'), |
| 93 | 95 | 'customer_profile_page_id' => __('Customer Profile Page', 'fluent-cart'), |
| 94 | 96 | ]; |
| 95 | 97 | |
| @@ -480,8 +482,9 @@ | ||
| 480 | 482 | 'product_filter_options' => ProductFilter::getTableFilterOptions(), |
| 481 | 483 | 'license_filter_options' => LicenseFilter::getTableFilterOptions(), |
| 482 | 484 | 'license_site_filter_options' => LicenseSiteFilter::getTableFilterOptions(), |
| 483 | 485 | 'tax_filter_options' => TaxFilter::getTableFilterOptions(), |
| 486 | + 'review_filter_options' => ReviewFilter::getTableFilterOptions(), | |
| 484 | 487 | ]; |
| 485 | 488 | $filterOptions = apply_filters('fluent_cart/admin_filter_options', $filterOptions, []); |
| 486 | 489 | |
| 487 | 490 | // Structured table config keyed by table name (used by Table.js base class) |
| @@ -493,8 +496,9 @@ | ||
| 493 | 496 | 'license_sites' => ['filters' => Arr::get($filterOptions, 'license_site_filter_options', [])], |
| 494 | 497 | 'taxes_table' => ['filters' => Arr::get($filterOptions, 'tax_filter_options', [])], |
| 495 | 498 | 'subscriptions' => ['filters' => Arr::get($filterOptions, 'subscription_filter_options', [])], |
| 496 | 499 | 'shipping_zone_table' => ['filters' => Arr::get($filterOptions, 'shipping_zone_filter_options', [])], |
| 500 | + 'review_table' => ['filters' => Arr::get($filterOptions, 'review_filter_options', [])], | |
| 497 | 501 | // The Order Sources report filters orders, so its advanced-filter UI |
| 498 | 502 | // reuses the Orders filter vocabulary rather than defining its own. |
| 499 | 503 | 'source_report' => ['filters' => Arr::get($filterOptions, 'order_filter_options', [])], |
| 500 | 504 | ]; |
| @@ -592,8 +596,9 @@ | ||
| 592 | 596 | 'is_tax_enabled' => TaxModule::isTaxEnabled(), |
| 593 | 597 | 'eu_vat_county_options' => TaxModule::euVatCountyOptions(), |
| 594 | 598 | 'country_tax_titles' => TaxModule::taxTitleLists(), |
| 595 | 599 | 'site_url' => site_url(), |
| 600 | + 'store_logo' => (new \FluentCart\Api\StoreSettings())->get('store_logo.url', ''), | |
| 596 | 601 | 'modules_settings' => ModuleSettings::getAllSettings(), |
| 597 | 602 | 'purchase_fluent_cart_link' => 'https://fluentcart.com/', |
| 598 | 603 | 'admin_notices' => apply_filters('fluent_cart/admin_notices', []), |
| 599 | 604 | // POSTs data-backfills/run until done; endpoint requires manage_options |