Initial import: Carteasy Shop (Dev-Stand)

This commit is contained in:
Thomas Bartelt
2026-04-20 01:03:43 +02:00
commit d504f8a05d
3845 changed files with 761050 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
// TODO: two variables
// number of new customers
// new customer list
// link to full list
class new_customers {
private $layout_object;
function __construct() {
$this->layout_object = Registry::get('layout_object');
}
function run() {
$customer_object = new Customer(Registry::get('base'));
$new_customer_count = $customer_object->new_customer_count();
$new_customers = $customer_object->get_new(10);
$this->layout_object->assign('new_customer_count', $new_customer_count);
$this->layout_object->assign('new_customers', $new_customers);
return $this->layout_object->fetch('widgets/new_customers.tpl');
}
}