PluginProbe
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments / 1.2.5
SureCart – Ecommerce Made Easy For Selling Physical Products, Digital Downloads, Subscriptions, Donations, & Payments v1.2.5
4.7.2 4.7.1 4.7.0 4.6.6 4.6.5 4.6.4 4.6.3 4.6.2 4.6.1 4.6.0 4.5.1 4.5.0 4.4.2 4.4.1 4.4.0 4.3.3 4.3.2 4.3.1 4.3.0 4.2.3 4.2.2 4.2.1 1.0.3 1.0.4 1.0.5 All 281 releases
← All changes | app/src/Controllers/Rest/StatisticsController.php +2 -8 4.7.11.2.5 View file →
@@ -2,12 +2,9 @@
2 2
3 3 namespace SureCart\Controllers\Rest;
4 4
5 5 use SureCart\Models\AbandonedCheckout;
6 -use SureCart\Models\CancellationAct;
7 -use SureCart\Models\CancellationReason;
8 6 use SureCart\Models\Order;
9 -use SureCart\Models\Subscription;
10 7
11 8 /**
12 9 * Handle Statistic requests through the REST API
13 10 */
@@ -17,13 +14,10 @@
17 14 *
18 15 * @var array
19 16 */
20 17 protected $models = [
21 - 'orders' => Order::class,
22 - 'abandoned_checkouts' => AbandonedCheckout::class,
23 - 'cancellation_reasons' => CancellationReason::class,
24 - 'cancellation_acts' => CancellationAct::class,
25 - 'subscriptions' => Subscription::class,
18 + 'orders' => Order::class,
19 + 'abandoned_checkouts' => AbandonedCheckout::class,
26 20 ];
27 21
28 22 /**
29 23 * Find model.