Initial import: Carteasy Shop (Dev-Stand)
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
class new_orders {
|
||||
|
||||
private $layout_object;
|
||||
|
||||
function __construct() {
|
||||
$this->layout_object = Registry::get('layout_object');
|
||||
}
|
||||
|
||||
function run() {
|
||||
$limit = 10;
|
||||
$under_min = OrderHelper::get_open_orders($limit);
|
||||
$this->layout_object->assign('open_orders', $under_min);
|
||||
|
||||
return $this->layout_object->fetch('widgets/new_orders.tpl');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user