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
@@ -0,0 +1,3 @@
{$table}
<h2>TODO admin_items_new.tpl</h2>
@@ -0,0 +1,54 @@
{extends file="widgets/big_widget_base.tpl"}
{block name=widget_name}dashboard_widget_backorder_items{/block}
{block name=widget_title}Nachzuliefernde Artikel{/block}
{block name=widget_content}
{if $backordered_items}
<table>
<thead>
<tr>
<th>Bestellung</th>
<th>Kunde</th>
<th>Artikel</th>
<th>Hersteller</th>
<th class="quantity">Anzahl</th>
<th class="money">Preis</th>
<th class="date">Datum</th>
</tr>
</thead>
<tbody>
{foreach $backordered_items as $order_item}
<tr>
<td>
<a href="./index.php?admin_modul=admin_order_editor&action=edit&id={$order_item->order_id}">
{$order_item->order_number}{if $order_item->order_revision}-{$order_item->order_revision}{/if}{if $order_item->order_addendum} {$order_item->order_addendum}{/if}
</a>
</td>
<td>
<a href="./index.php?admin_modul=admin_customer_editor&id={$order_item->customer_id}">
{$order_item->customer_name}
</a>
</td>
<td>
<a href="./index.php?admin_modul=admin_item_editor&id={$order_item->item_id}">
{$order_item->item_name}
</a>
</td>
<td>
<a href="./index.php?admin_modul=admin_manufacturer_editor&id={$order_item->manufacturer_id}">
{$order_item->manufacturer_name}
</a>
</td>
<td class="quantity">{$order_item->item_quantity}</td>
<td class="money">{$order_item->item_price|number_format:2:",":" "} &euro;</td>
<td class="date">{if $order_item->item_delivery_date}{$order_item->item_delivery_date}{else}Kein Datum{/if}</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
<p>Keine Nachlieferung</p>
{/if}
{/block}
@@ -0,0 +1,6 @@
<div class="big_widget" rel="{block name=widget_name}Default Name{/block}">
<div class="big_widget_title_bar"><span class="name">{block name=widget_title}Default Title{/block}</span></div>
<div class="big_widget_content">
{block name=widget_content}Default Content{/block}
</div>
</div>
@@ -0,0 +1,17 @@
{extends file="widgets/big_widget_base.tpl"}
{block name=widget_name}dashboard_widget_inventory_manager{/block}
{block name=widget_title}Artikel Inventar{/block}
{block name=widget_content}
<div>
<label style="width:39%;font-weight:bold;display:inline-block;">Artikel Suche (Artikel Nummer oder EAN): </label><input type="text" id="inventory_manager_search" style="width:59%;"/>
</div>
<div id="inventory_manager_target">
</div>
<script type="text/javascript" src="{$info->base_url}/themes/admin/media/js/widgets/inventory_manager.js"></script>
{/block}
@@ -0,0 +1,6 @@
<div class="little_widget" rel="{block name=widget_name}Default Name{/block}">
<div class="little_widget_title_bar"><span class="name">{block name=widget_title}Default Title{/block}</span></div>
<div class="little_widget_content">
{block name=widget_content}Default Content{/block}
</div>
</div>
@@ -0,0 +1,28 @@
{extends file="widgets/little_widget_base.tpl"}
{block name=widget_name}dashboard_widget_new_customers{/block}
{block name=widget_title}{$new_customer_count} Neue Kunden{/block}
{block name=widget_content}
{if $new_customers}
<table>
<thead>
<tr>
<th>Name</th>
<th>E-Mail</th>
</tr>
</thead>
<tbody>
{foreach from=$new_customers item=customer}
<tr>
<td><a href="./index.php?admin_modul=admin_customer_editor&id={$customer->id}">{$customer->firstname} {$customer->surname}</a></td>
<td style="text-align:right;">{$customer->email}</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
<p>Keine neue Kunden</p>
{/if}
{/block}
@@ -0,0 +1,36 @@
{extends file="widgets/big_widget_base.tpl"}
{block name=widget_name}dashboard_widget_backorder_items{/block}
{block name=widget_title}Neue Nachrichten{/block}
{block name=widget_content}
{if $ticket_list}
<table>
<thead>
<tr>
<th>Ticket</th>
<th>Kunde</th>
<th class="money">Nachricht</th>
<th class="date">Datum</th>
</tr>
</thead>
<tbody>
{foreach $ticket_list as $ticket}
<tr>
<td>
<a href="{$info->base_url}index.php?admin_modul=admin_cs_ticket_editor&id={$ticket->id}">{$ticket->number}</a>
</td>
<td>
{$ticket->customer->firstname} {$ticket->customer->surname} {if $ticket->customer->company}({$ticket->customer->company}){/if}
</td>
<td class="money">{$ticket->first_message->subject}</td>
<td class="date">{$ticket->first_message->create_time}</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
<p>Keine Nachlieferung</p>
{/if}
{/block}
@@ -0,0 +1,32 @@
{extends file="widgets/little_widget_base.tpl"}
{block name=widget_name}dashboard_widget_order{/block}
{block name=widget_title}Offene Bestellungen{/block}
{block name=widget_content}
{if $open_orders}
<table>
<thead>
<tr>
<th>Bestellnr.</th>
<th>Kunde</th>
<th class="date">Datum</th>
<th class="money">Wert</th>
</tr>
</thead>
<tbody>
{foreach from=$open_orders item=order}
<tr>
<td><a href="index.php?admin_modul=admin_order_editor&action=edit&id={$order->id}">{$order->order_number}</a></td>
<td>{$order->customer_name}</td>
<td class="date">{$order->order_date}</td>
<td class="money">{$order->order_total|number_format:2:",":" "} &euro;</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
<p>Keine neue Bestellung.</p>
{/if}
{/block}
@@ -0,0 +1,42 @@
{*
{extends file="widgets/big_widget_base.tpl"}
{block name=widget_name}dashboard_widget_paypal_money_back{/block}
{block name=widget_title}PayPal R&uuml;ckzahlung{/block}
{block name=widget_content}
{if $money_back_orderes}
<table>
<thead>
<tr>
<th>Bestellung</th>
<th>Kunde</th>
<th>Bestelldatum</th>
<th>Bestellung</th>
<th>Zahlungsgeb&uuml;ren</th>
<th>Versandgeb&uuml;ren</th>
<th>Gesamte Geb&uuml;ren</th>
<th></th>
</tr>
</thead>
<tbody>
{foreach $money_back_orderes as $order}
<tr>
<td>{$order->order_number}{if $order->order_revision}-{$order->order_revision}{/if}</td>
<td>{$order->customer_name}</td>
<td>{$order->order_date}</td>
<td>{$order->order_total}</td>
<td>{$order->payment_method_charges}</td>
<td>{$order->shipping_charges}</td>
<td>{$order->total_charges}</td>
<td><a href="./index.php?admin_modul=admin_paypal_transaction&order_id={$order->id}">Ansehen</a></td>
</tr>
{/foreach}
</tbody>
</table>
{else}
Keine PayPal R&uuml;ckzahlungen
{/if}
{/block}
*}
@@ -0,0 +1,28 @@
{extends file="widgets/little_widget_base.tpl"}
{block name=widget_name}dashboard_widget_show_warehouse_inventory{/block}
{block name=widget_title}Lagerbestand{/block}
{block name=widget_content}
{if $low_inventory}
<table>
<thead>
<tr>
<th>Bezeichnung</th>
<th class="quantity">Anzahl
</tr>
</thead>
<tbody>
{foreach from=$low_inventory item=item}
<tr>
<td><a href="./index.php?admin_modul=admin_item_editor&id={$item->id}">{$item->name}</a></td>
<td class="quantity">{$item->inventory}</td>
</tr>
{/foreach}
</tbody>
</table>
{else}
<p>Minimal Lagerbest&auml;nde von allen Produkten sind vorhanden.</p>
{/if}
{/block}