This commit is contained in:
Dennis Eichhorn 2023-10-09 22:06:39 +00:00
parent 7e5c01db02
commit 863d32a65d
25 changed files with 127 additions and 619 deletions

View File

@ -12,38 +12,6 @@
"from": "Sales", "from": "Sales",
"permission": { "permission": 2, "category": null, "element": null }, "permission": { "permission": 2, "category": null, "element": null },
"parent": 0, "parent": 0,
"children": [ "children": []
{
"id": 1001602001,
"pid": "/",
"type": 2,
"subtype": 1,
"name": "Analysis",
"uri": "{/base}/sales/analysis?{?}",
"target": "self",
"icon": null,
"order": 15,
"from": "Sales",
"permission": { "permission": 2, "category": null, "element": null },
"parent": 1001601001,
"children": [
{
"id": 1001602002,
"pid": "/sales/analysis",
"type": 3,
"subtype": 1,
"name": "Dashboard",
"uri": "{/base}/sales/analysis?{?}",
"target": "self",
"icon": null,
"order": 1,
"from": "Sales",
"permission": { "permission": 2, "category": null, "element": null },
"parent": 1001602001,
"children": []
}
]
}
]
} }
] ]

View File

@ -18,15 +18,4 @@ use phpOMS\Account\PermissionType;
use phpOMS\Router\RouteVerb; use phpOMS\Router\RouteVerb;
return [ return [
'^.*/sales/analysis(\?.*|$)$' => [
[
'dest' => '\Modules\Sales\Controller\BackendController:viewDashboard',
'verb' => RouteVerb::GET,
'permission' => [
'module' => BackendController::NAME,
'type' => PermissionType::CREATE,
'state' => PermissionCategory::ANALYSIS,
],
],
],
]; ];

View File

@ -14,7 +14,6 @@ declare(strict_types=1);
namespace Modules\Sales\Controller; namespace Modules\Sales\Controller;
use phpOMS\Asset\AssetType;
use phpOMS\Contract\RenderableInterface; use phpOMS\Contract\RenderableInterface;
use phpOMS\Message\RequestAbstract; use phpOMS\Message\RequestAbstract;
use phpOMS\Message\ResponseAbstract; use phpOMS\Message\ResponseAbstract;
@ -31,54 +30,5 @@ use phpOMS\Views\View;
*/ */
final class BackendController extends Controller final class BackendController extends Controller
{ {
/**
* Method which shows the sales dashboard
*
* @param RequestAbstract $request Request
* @param ResponseAbstract $response Response
* @param array $data Generic data
*
* @return RenderableInterface Response can be rendered
*
* @since 1.0.0
*/
public function viewDashboard(RequestAbstract $request, ResponseAbstract $response, array $data = []) : RenderableInterface
{
$head = $response->data['Content']->head;
$nonce = $this->app->appSettings->getOption('script-nonce');
$head->addAsset(AssetType::CSS, 'Resources/chartjs/Chartjs/chart.css');
$head->addAsset(AssetType::JSLATE, 'Resources/chartjs/Chartjs/chart.js', ['nonce' => $nonce]);
$head->addAsset(AssetType::JSLATE, 'Modules/ClientManagement/Controller.js', ['nonce' => $nonce, 'type' => 'module']);
$view = new View($this->app->l11nManager, $request, $response);
$view->setTemplate('/Modules/Sales/Theme/Backend/sales-analysis-dashboard');
$view->data['nav'] = $this->app->moduleManager->get('Navigation')->createNavigationMid(1001602001, $request, $response);
/////
$monthlySalesCustomer = [];
for ($i = 1; $i < 13; ++$i) {
$monthlySalesCustomer[] = [
'net_sales' => $sales = \mt_rand(1200000000, 2000000000),
'customers' => \mt_rand(200, 400),
'year' => 2020,
'month' => $i,
];
}
$view->data['monthlySalesCustomer'] = $monthlySalesCustomer;
$annualSalesCustomer = [];
for ($i = 1; $i < 11; ++$i) {
$annualSalesCustomer[] = [
'net_sales' => $sales = \mt_rand(1200000000, 2000000000) * 12,
'customers' => \mt_rand(200, 400) * 6,
'year' => 2020 - 10 + $i,
];
}
$view->data['annualSalesCustomer'] = $annualSalesCustomer;
return $view;
}
} }

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'الجميع', 'All' => 'الجميع',
'Amount' => 'مقدار', 'Amount' => 'مقدار',
'Analysis' => 'التحليلات', 'Analysis' => 'التحليلات',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'مساحة', 'Area' => 'مساحة',
'Article' => 'مقالة - سلعة', 'Article' => 'مقالة - سلعة',
'Articles' => 'مقالات', 'Articles' => 'مقالات',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'معرف العميل', 'ClientID' => 'معرف العميل',
'ClientName' => 'اسم العميل', 'ClientName' => 'اسم العميل',
'Clients' => 'عملاء', 'Clients' => 'عملاء',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'تأكيد', 'Confirmation' => 'تأكيد',
'CoreData' => 'البيانات الأساسية', 'CoreData' => 'البيانات الأساسية',
'Country' => 'دولة', 'Country' => 'دولة',
'Created' => 'خلقت', 'Created' => 'خلقت',
'Creator' => 'المنشئ', 'Creator' => 'المنشئ',
'CreditNote' => 'اشعار دائن', 'CreditNote' => 'اشعار دائن',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO.', 'DSO' => 'DSO.',
'Date' => 'تاريخ', 'Date' => 'تاريخ',
'DefaultInternational' => 'افتراضي الدولية', 'DefaultInternational' => 'افتراضي الدولية',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'خصم في٪', 'DiscountP' => 'خصم في٪',
'Documentation' => 'توثيق', 'Documentation' => 'توثيق',
'Employee' => 'موظف', 'Employee' => 'موظف',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'الفاو', 'FAO' => 'الفاو',
'From' => 'من', 'From' => 'من',
'Group' => 'مجموعة', 'Group' => 'مجموعة',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'دفع', 'Payment' => 'دفع',
'Price' => 'السعر', 'Price' => 'السعر',
'Priority' => 'أفضلية', 'Priority' => 'أفضلية',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'كمية', 'Quantity' => 'كمية',
'Receipt' => 'إيصال', 'Receipt' => 'إيصال',
'Reference' => 'المرجعي', 'Reference' => 'المرجعي',
'Sales' => 'مبيعات', 'Sales' => 'مبيعات',
'Settings' => 'إعدادات', 'Settings' => 'إعدادات',
'Single' => 'غير مرتبطة', 'Single' => 'غير مرتبطة',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'ولاية', 'State' => 'ولاية',
'Statistics' => 'إحصائيات', 'Statistics' => 'إحصائيات',
'Status' => 'حالة', 'Status' => 'حالة',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Všechno', 'All' => 'Všechno',
'Amount' => 'Množství', 'Amount' => 'Množství',
'Analysis' => 'Analýza', 'Analysis' => 'Analýza',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Plocha', 'Area' => 'Plocha',
'Article' => 'Článek', 'Article' => 'Článek',
'Articles' => 'Články', 'Articles' => 'Články',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'ID klienta', 'ClientID' => 'ID klienta',
'ClientName' => 'jméno klienta', 'ClientName' => 'jméno klienta',
'Clients' => 'Klienti', 'Clients' => 'Klienti',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'potvrzení', 'Confirmation' => 'potvrzení',
'CoreData' => 'Základní data', 'CoreData' => 'Základní data',
'Country' => 'Země', 'Country' => 'Země',
'Created' => 'Vytvořený', 'Created' => 'Vytvořený',
'Creator' => 'Tvůrce', 'Creator' => 'Tvůrce',
'CreditNote' => 'Dobropis', 'CreditNote' => 'Dobropis',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO.', 'DSO' => 'DSO.',
'Date' => 'datum', 'Date' => 'datum',
'DefaultInternational' => 'Výchozí mezinárodní', 'DefaultInternational' => 'Výchozí mezinárodní',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Sleva v%', 'DiscountP' => 'Sleva v%',
'Documentation' => 'Dokumentace', 'Documentation' => 'Dokumentace',
'Employee' => 'Zaměstnanec', 'Employee' => 'Zaměstnanec',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'Fao.', 'FAO' => 'Fao.',
'From' => 'Z', 'From' => 'Z',
'Group' => 'Skupina', 'Group' => 'Skupina',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Způsob platby', 'Payment' => 'Způsob platby',
'Price' => 'Cena', 'Price' => 'Cena',
'Priority' => 'Přednost', 'Priority' => 'Přednost',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Množství', 'Quantity' => 'Množství',
'Receipt' => 'Účtenka', 'Receipt' => 'Účtenka',
'Reference' => 'Odkaz', 'Reference' => 'Odkaz',
'Sales' => 'Odbyt', 'Sales' => 'Odbyt',
'Settings' => 'Nastavení', 'Settings' => 'Nastavení',
'Single' => 'Singl', 'Single' => 'Singl',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Stát', 'State' => 'Stát',
'Statistics' => 'Statistika', 'Statistics' => 'Statistika',
'Status' => 'Postavení', 'Status' => 'Postavení',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Alle', 'All' => 'Alle',
'Amount' => 'Beløb', 'Amount' => 'Beløb',
'Analysis' => 'Analyse', 'Analysis' => 'Analyse',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Areal', 'Area' => 'Areal',
'Article' => 'Artikel', 'Article' => 'Artikel',
'Articles' => 'Artikler', 'Articles' => 'Artikler',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'Klient ID.', 'ClientID' => 'Klient ID.',
'ClientName' => 'Kundenavn', 'ClientName' => 'Kundenavn',
'Clients' => 'Klienter.', 'Clients' => 'Klienter.',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Bekræftelse', 'Confirmation' => 'Bekræftelse',
'CoreData' => 'Kernedata.', 'CoreData' => 'Kernedata.',
'Country' => 'Land', 'Country' => 'Land',
'Created' => 'Oprettet', 'Created' => 'Oprettet',
'Creator' => 'Skaber.', 'Creator' => 'Skaber.',
'CreditNote' => 'Kreditnota', 'CreditNote' => 'Kreditnota',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO.', 'DSO' => 'DSO.',
'Date' => 'Dato', 'Date' => 'Dato',
'DefaultInternational' => 'Standard International', 'DefaultInternational' => 'Standard International',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Rabat i%', 'DiscountP' => 'Rabat i%',
'Documentation' => 'Dokumentation', 'Documentation' => 'Dokumentation',
'Employee' => 'Medarbejder', 'Employee' => 'Medarbejder',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'FAO.', 'FAO' => 'FAO.',
'From' => 'Fra', 'From' => 'Fra',
'Group' => 'Gruppe', 'Group' => 'Gruppe',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Betaling', 'Payment' => 'Betaling',
'Price' => 'Pris', 'Price' => 'Pris',
'Priority' => 'Prioritet', 'Priority' => 'Prioritet',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Antal', 'Quantity' => 'Antal',
'Receipt' => 'Kvittering', 'Receipt' => 'Kvittering',
'Reference' => 'Reference', 'Reference' => 'Reference',
'Sales' => 'SALG', 'Sales' => 'SALG',
'Settings' => 'Indstillinger.', 'Settings' => 'Indstillinger.',
'Single' => 'Enkelt', 'Single' => 'Enkelt',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Stat', 'State' => 'Stat',
'Statistics' => 'Statistikker', 'Statistics' => 'Statistikker',
'Status' => 'Status.', 'Status' => 'Status.',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Alle', 'All' => 'Alle',
'Amount' => 'Höhe', 'Amount' => 'Höhe',
'Analysis' => 'Analyse', 'Analysis' => 'Analyse',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Bereich', 'Area' => 'Bereich',
'Article' => 'Artikel', 'Article' => 'Artikel',
'Articles' => 'Artikel', 'Articles' => 'Artikel',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'Kunden ID', 'ClientID' => 'Kunden ID',
'ClientName' => 'Kundenname', 'ClientName' => 'Kundenname',
'Clients' => 'Kunden', 'Clients' => 'Kunden',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Bestätigung', 'Confirmation' => 'Bestätigung',
'CoreData' => 'Kerndatei', 'CoreData' => 'Kerndatei',
'Country' => 'Land', 'Country' => 'Land',
'Created' => 'Erstellt', 'Created' => 'Erstellt',
'Creator' => 'Schöpfer', 'Creator' => 'Schöpfer',
'CreditNote' => 'Gutschrift', 'CreditNote' => 'Gutschrift',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO.', 'DSO' => 'DSO.',
'Date' => 'Datum', 'Date' => 'Datum',
'DefaultInternational' => 'Standard-Internationale', 'DefaultInternational' => 'Standard-Internationale',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Rabatt in%', 'DiscountP' => 'Rabatt in%',
'Documentation' => 'Dokumentation', 'Documentation' => 'Dokumentation',
'Employee' => 'Mitarbeiter', 'Employee' => 'Mitarbeiter',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'Fao', 'FAO' => 'Fao',
'From' => 'Von', 'From' => 'Von',
'Group' => 'Gruppe', 'Group' => 'Gruppe',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Zahlung', 'Payment' => 'Zahlung',
'Price' => 'Preis', 'Price' => 'Preis',
'Priority' => 'Priorität', 'Priority' => 'Priorität',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Menge', 'Quantity' => 'Menge',
'Receipt' => 'Kassenbon', 'Receipt' => 'Kassenbon',
'Reference' => 'Bezug', 'Reference' => 'Bezug',
'Sales' => 'Der Umsatz', 'Sales' => 'Der Umsatz',
'Settings' => 'Einstellungen', 'Settings' => 'Einstellungen',
'Single' => 'Single', 'Single' => 'Single',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Zustand', 'State' => 'Zustand',
'Statistics' => 'Statistiken', 'Statistics' => 'Statistiken',
'Status' => 'Status', 'Status' => 'Status',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Ολα', 'All' => 'Ολα',
'Amount' => 'Ποσό', 'Amount' => 'Ποσό',
'Analysis' => 'Ανάλυση', 'Analysis' => 'Ανάλυση',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Περιοχή', 'Area' => 'Περιοχή',
'Article' => 'Αρθρο', 'Article' => 'Αρθρο',
'Articles' => 'Είδη', 'Articles' => 'Είδη',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'ταυτότητα πελάτη', 'ClientID' => 'ταυτότητα πελάτη',
'ClientName' => 'Όνομα Πελάτη', 'ClientName' => 'Όνομα Πελάτη',
'Clients' => 'Πελάτες', 'Clients' => 'Πελάτες',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Επιβεβαίωση', 'Confirmation' => 'Επιβεβαίωση',
'CoreData' => 'Βασικά δεδομένα', 'CoreData' => 'Βασικά δεδομένα',
'Country' => 'Χώρα', 'Country' => 'Χώρα',
'Created' => 'Δημιουργήθηκε', 'Created' => 'Δημιουργήθηκε',
'Creator' => 'Δημιουργός', 'Creator' => 'Δημιουργός',
'CreditNote' => 'Πιστωτικό σημείωμα', 'CreditNote' => 'Πιστωτικό σημείωμα',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'ΔΣΟ', 'DSO' => 'ΔΣΟ',
'Date' => 'Ημερομηνία', 'Date' => 'Ημερομηνία',
'DefaultInternational' => 'Προεπιλογή Διεθνής', 'DefaultInternational' => 'Προεπιλογή Διεθνής',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Έκπτωση σε%', 'DiscountP' => 'Έκπτωση σε%',
'Documentation' => 'Τεκμηρίωση', 'Documentation' => 'Τεκμηρίωση',
'Employee' => 'Υπάλληλος', 'Employee' => 'Υπάλληλος',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'Φλυαρία', 'FAO' => 'Φλυαρία',
'From' => 'Από', 'From' => 'Από',
'Group' => 'Ομάδα', 'Group' => 'Ομάδα',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Πληρωμή', 'Payment' => 'Πληρωμή',
'Price' => 'Τιμή', 'Price' => 'Τιμή',
'Priority' => 'Προτεραιότητα', 'Priority' => 'Προτεραιότητα',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Ποσότητα', 'Quantity' => 'Ποσότητα',
'Receipt' => 'Παραλαβή', 'Receipt' => 'Παραλαβή',
'Reference' => 'Αναφορά', 'Reference' => 'Αναφορά',
'Sales' => 'Εκπτώσεις', 'Sales' => 'Εκπτώσεις',
'Settings' => 'Ρυθμίσεις', 'Settings' => 'Ρυθμίσεις',
'Single' => 'Μονόκλινο', 'Single' => 'Μονόκλινο',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'κατάσταση', 'State' => 'κατάσταση',
'Statistics' => 'Στατιστική', 'Statistics' => 'Στατιστική',
'Status' => 'Κατάσταση', 'Status' => 'Κατάσταση',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Todo', 'All' => 'Todo',
'Amount' => 'Monto', 'Amount' => 'Monto',
'Analysis' => 'Análisis', 'Analysis' => 'Análisis',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Área', 'Area' => 'Área',
'Article' => 'Artículo', 'Article' => 'Artículo',
'Articles' => 'Artículos', 'Articles' => 'Artículos',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'Identificación del cliente', 'ClientID' => 'Identificación del cliente',
'ClientName' => 'nombre del cliente', 'ClientName' => 'nombre del cliente',
'Clients' => 'Clientela', 'Clients' => 'Clientela',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Confirmación', 'Confirmation' => 'Confirmación',
'CoreData' => 'Datos principales', 'CoreData' => 'Datos principales',
'Country' => 'País', 'Country' => 'País',
'Created' => 'Creado', 'Created' => 'Creado',
'Creator' => 'Creador', 'Creator' => 'Creador',
'CreditNote' => 'Nota de crédito', 'CreditNote' => 'Nota de crédito',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO', 'DSO' => 'DSO',
'Date' => 'Fecha', 'Date' => 'Fecha',
'DefaultInternational' => 'Internacional predeterminado', 'DefaultInternational' => 'Internacional predeterminado',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Descuento en%', 'DiscountP' => 'Descuento en%',
'Documentation' => 'Documentación', 'Documentation' => 'Documentación',
'Employee' => 'Empleado', 'Employee' => 'Empleado',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'Fao', 'FAO' => 'Fao',
'From' => 'Desde', 'From' => 'Desde',
'Group' => 'Grupo', 'Group' => 'Grupo',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Pago', 'Payment' => 'Pago',
'Price' => 'Precio', 'Price' => 'Precio',
'Priority' => 'Prioridad', 'Priority' => 'Prioridad',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Cantidad', 'Quantity' => 'Cantidad',
'Receipt' => 'Recibo', 'Receipt' => 'Recibo',
'Reference' => 'Referencia', 'Reference' => 'Referencia',
'Sales' => 'Ventas', 'Sales' => 'Ventas',
'Settings' => 'Ajustes', 'Settings' => 'Ajustes',
'Single' => 'Único', 'Single' => 'Único',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Expresar', 'State' => 'Expresar',
'Statistics' => 'Estadísticas', 'Statistics' => 'Estadísticas',
'Status' => 'Estado', 'Status' => 'Estado',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Kaikki', 'All' => 'Kaikki',
'Amount' => 'Määrä', 'Amount' => 'Määrä',
'Analysis' => 'Analyysi', 'Analysis' => 'Analyysi',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Alue', 'Area' => 'Alue',
'Article' => 'Artikla', 'Article' => 'Artikla',
'Articles' => 'Artikkelit', 'Articles' => 'Artikkelit',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'Asiakastunnus', 'ClientID' => 'Asiakastunnus',
'ClientName' => 'Asiakkaan Nimi', 'ClientName' => 'Asiakkaan Nimi',
'Clients' => 'Asiakkaat', 'Clients' => 'Asiakkaat',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Vahvistus', 'Confirmation' => 'Vahvistus',
'CoreData' => 'Keskeiset tiedot', 'CoreData' => 'Keskeiset tiedot',
'Country' => 'Maa', 'Country' => 'Maa',
'Created' => 'Luotu', 'Created' => 'Luotu',
'Creator' => 'Luoja', 'Creator' => 'Luoja',
'CreditNote' => 'Luottoluotto', 'CreditNote' => 'Luottoluotto',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'Dso', 'DSO' => 'Dso',
'Date' => 'Päivämäärä', 'Date' => 'Päivämäärä',
'DefaultInternational' => 'Oletus kansainvälinen', 'DefaultInternational' => 'Oletus kansainvälinen',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Alennus%', 'DiscountP' => 'Alennus%',
'Documentation' => 'Dokumentointi', 'Documentation' => 'Dokumentointi',
'Employee' => 'Työntekijä', 'Employee' => 'Työntekijä',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'Fao', 'FAO' => 'Fao',
'From' => 'Peräkkäin', 'From' => 'Peräkkäin',
'Group' => 'Ryhmä', 'Group' => 'Ryhmä',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Maksu', 'Payment' => 'Maksu',
'Price' => 'Hinta', 'Price' => 'Hinta',
'Priority' => 'Etusija', 'Priority' => 'Etusija',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Määrä', 'Quantity' => 'Määrä',
'Receipt' => 'Kuitti', 'Receipt' => 'Kuitti',
'Reference' => 'Viite', 'Reference' => 'Viite',
'Sales' => 'Myynti', 'Sales' => 'Myynti',
'Settings' => 'asetukset', 'Settings' => 'asetukset',
'Single' => 'Yksittäinen', 'Single' => 'Yksittäinen',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Osavaltio', 'State' => 'Osavaltio',
'Statistics' => 'Tilastot', 'Statistics' => 'Tilastot',
'Status' => 'Tila', 'Status' => 'Tila',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Tout', 'All' => 'Tout',
'Amount' => 'Quantité', 'Amount' => 'Quantité',
'Analysis' => 'Analyse', 'Analysis' => 'Analyse',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Zone', 'Area' => 'Zone',
'Article' => 'Article', 'Article' => 'Article',
'Articles' => 'Des articles', 'Articles' => 'Des articles',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'identité du client', 'ClientID' => 'identité du client',
'ClientName' => 'Nom du client', 'ClientName' => 'Nom du client',
'Clients' => 'Clients', 'Clients' => 'Clients',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Confirmation', 'Confirmation' => 'Confirmation',
'CoreData' => 'Données de base', 'CoreData' => 'Données de base',
'Country' => 'Pays', 'Country' => 'Pays',
'Created' => 'Établi', 'Created' => 'Établi',
'Creator' => 'Créateur', 'Creator' => 'Créateur',
'CreditNote' => 'Note de crédit', 'CreditNote' => 'Note de crédit',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'Dso', 'DSO' => 'Dso',
'Date' => 'Date', 'Date' => 'Date',
'DefaultInternational' => 'International par défaut', 'DefaultInternational' => 'International par défaut',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Rabais en%', 'DiscountP' => 'Rabais en%',
'Documentation' => 'Documentation', 'Documentation' => 'Documentation',
'Employee' => 'Employé', 'Employee' => 'Employé',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'Fao', 'FAO' => 'Fao',
'From' => 'À partir de', 'From' => 'À partir de',
'Group' => 'Grouper', 'Group' => 'Grouper',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Paiement', 'Payment' => 'Paiement',
'Price' => 'Prix', 'Price' => 'Prix',
'Priority' => 'Priorité', 'Priority' => 'Priorité',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Quantité', 'Quantity' => 'Quantité',
'Receipt' => 'Reçu', 'Receipt' => 'Reçu',
'Reference' => 'Référence', 'Reference' => 'Référence',
'Sales' => 'Ventes', 'Sales' => 'Ventes',
'Settings' => 'Réglages', 'Settings' => 'Réglages',
'Single' => 'Seul', 'Single' => 'Seul',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'État', 'State' => 'État',
'Statistics' => 'Statistiques', 'Statistics' => 'Statistiques',
'Status' => 'Statut', 'Status' => 'Statut',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Minden', 'All' => 'Minden',
'Amount' => 'Összeg', 'Amount' => 'Összeg',
'Analysis' => 'Elemzés', 'Analysis' => 'Elemzés',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Terület', 'Area' => 'Terület',
'Article' => 'Cikk', 'Article' => 'Cikk',
'Articles' => 'Árucikkek', 'Articles' => 'Árucikkek',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'Ügyfélazonosító', 'ClientID' => 'Ügyfélazonosító',
'ClientName' => 'Ügyfél Neve', 'ClientName' => 'Ügyfél Neve',
'Clients' => 'Kliensek', 'Clients' => 'Kliensek',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Megerősítés', 'Confirmation' => 'Megerősítés',
'CoreData' => 'Alapvető adatok', 'CoreData' => 'Alapvető adatok',
'Country' => 'Ország', 'Country' => 'Ország',
'Created' => 'Létrehozott', 'Created' => 'Létrehozott',
'Creator' => 'Teremtő', 'Creator' => 'Teremtő',
'CreditNote' => 'Jóváírás', 'CreditNote' => 'Jóváírás',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO', 'DSO' => 'DSO',
'Date' => 'Dátum', 'Date' => 'Dátum',
'DefaultInternational' => 'Alapértelmezett nemzetközi', 'DefaultInternational' => 'Alapértelmezett nemzetközi',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Kedvezmény%', 'DiscountP' => 'Kedvezmény%',
'Documentation' => 'Dokumentáció', 'Documentation' => 'Dokumentáció',
'Employee' => 'Munkavállaló', 'Employee' => 'Munkavállaló',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'FAO', 'FAO' => 'FAO',
'From' => 'Tól től', 'From' => 'Tól től',
'Group' => 'Csoport', 'Group' => 'Csoport',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Fizetés', 'Payment' => 'Fizetés',
'Price' => 'Ár', 'Price' => 'Ár',
'Priority' => 'Kiemelten fontos', 'Priority' => 'Kiemelten fontos',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Mennyiség', 'Quantity' => 'Mennyiség',
'Receipt' => 'Nyugta', 'Receipt' => 'Nyugta',
'Reference' => 'Referencia', 'Reference' => 'Referencia',
'Sales' => 'Értékesítés', 'Sales' => 'Értékesítés',
'Settings' => 'Beállítások', 'Settings' => 'Beállítások',
'Single' => 'Egyetlen', 'Single' => 'Egyetlen',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Állapot', 'State' => 'Állapot',
'Statistics' => 'Statisztika', 'Statistics' => 'Statisztika',
'Status' => 'Állapot', 'Status' => 'Állapot',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Tutto', 'All' => 'Tutto',
'Amount' => 'Quantità', 'Amount' => 'Quantità',
'Analysis' => 'Analisi', 'Analysis' => 'Analisi',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'La zona', 'Area' => 'La zona',
'Article' => 'Articolo', 'Article' => 'Articolo',
'Articles' => 'Artificio', 'Articles' => 'Artificio',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'Identificativo cliente', 'ClientID' => 'Identificativo cliente',
'ClientName' => 'nome del cliente', 'ClientName' => 'nome del cliente',
'Clients' => 'Clienti', 'Clients' => 'Clienti',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Conferma', 'Confirmation' => 'Conferma',
'CoreData' => 'Dati principali', 'CoreData' => 'Dati principali',
'Country' => 'Nazione', 'Country' => 'Nazione',
'Created' => 'Creato', 'Created' => 'Creato',
'Creator' => 'Creatore', 'Creator' => 'Creatore',
'CreditNote' => 'Nota di credito', 'CreditNote' => 'Nota di credito',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO.', 'DSO' => 'DSO.',
'Date' => 'Data', 'Date' => 'Data',
'DefaultInternational' => 'Default International.', 'DefaultInternational' => 'Default International.',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Sconto in%', 'DiscountP' => 'Sconto in%',
'Documentation' => 'Documentazione', 'Documentation' => 'Documentazione',
'Employee' => 'Dipendente', 'Employee' => 'Dipendente',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'FAO.', 'FAO' => 'FAO.',
'From' => 'A partire dal', 'From' => 'A partire dal',
'Group' => 'Gruppo', 'Group' => 'Gruppo',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Pagamento', 'Payment' => 'Pagamento',
'Price' => 'Prezzo', 'Price' => 'Prezzo',
'Priority' => 'Priorità', 'Priority' => 'Priorità',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Quantità', 'Quantity' => 'Quantità',
'Receipt' => 'Ricevuta', 'Receipt' => 'Ricevuta',
'Reference' => 'Riferimento', 'Reference' => 'Riferimento',
'Sales' => 'Saldi', 'Sales' => 'Saldi',
'Settings' => 'Impostazioni', 'Settings' => 'Impostazioni',
'Single' => 'Separare', 'Single' => 'Separare',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Stato', 'State' => 'Stato',
'Statistics' => 'Statistiche', 'Statistics' => 'Statistiche',
'Status' => 'Stato', 'Status' => 'Stato',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => '全て', 'All' => '全て',
'Amount' => '額', 'Amount' => '額',
'Analysis' => '分析', 'Analysis' => '分析',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => '領域', 'Area' => '領域',
'Article' => '記事', 'Article' => '記事',
'Articles' => 'articles', 'Articles' => 'articles',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'クライアントID', 'ClientID' => 'クライアントID',
'ClientName' => 'クライアント名', 'ClientName' => 'クライアント名',
'Clients' => 'クライアント', 'Clients' => 'クライアント',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => '確認', 'Confirmation' => '確認',
'CoreData' => 'コアデータ', 'CoreData' => 'コアデータ',
'Country' => '国', 'Country' => '国',
'Created' => '作成した', 'Created' => '作成した',
'Creator' => 'クリエーター', 'Creator' => 'クリエーター',
'CreditNote' => 'クレジットノート', 'CreditNote' => 'クレジットノート',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO', 'DSO' => 'DSO',
'Date' => '日にち', 'Date' => '日にち',
'DefaultInternational' => 'デフォルトの国際', 'DefaultInternational' => 'デフォルトの国際',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => '割引%', 'DiscountP' => '割引%',
'Documentation' => 'ドキュメンテーション', 'Documentation' => 'ドキュメンテーション',
'Employee' => '従業員', 'Employee' => '従業員',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'fa fa', 'FAO' => 'fa fa',
'From' => 'から', 'From' => 'から',
'Group' => 'グループ', 'Group' => 'グループ',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => '支払い', 'Payment' => '支払い',
'Price' => '価格', 'Price' => '価格',
'Priority' => '優先度', 'Priority' => '優先度',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => '量', 'Quantity' => '量',
'Receipt' => 'レシート', 'Receipt' => 'レシート',
'Reference' => 'リファレンス', 'Reference' => 'リファレンス',
'Sales' => '売り返り', 'Sales' => '売り返り',
'Settings' => '設定', 'Settings' => '設定',
'Single' => '独身', 'Single' => '独身',
'Start' => '#VALUE!', 'Start' => '',
'State' => '州', 'State' => '州',
'Statistics' => '統計学', 'Statistics' => '統計学',
'Status' => '状態', 'Status' => '状態',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => '모두', 'All' => '모두',
'Amount' => '양', 'Amount' => '양',
'Analysis' => '분석', 'Analysis' => '분석',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => '지역', 'Area' => '지역',
'Article' => '기사', 'Article' => '기사',
'Articles' => '조항', 'Articles' => '조항',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => '클라이언트 ID.', 'ClientID' => '클라이언트 ID.',
'ClientName' => '고객 이름', 'ClientName' => '고객 이름',
'Clients' => '클라이언트', 'Clients' => '클라이언트',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => '확인', 'Confirmation' => '확인',
'CoreData' => '핵심 데이터', 'CoreData' => '핵심 데이터',
'Country' => '국가', 'Country' => '국가',
'Created' => '만들어진', 'Created' => '만들어진',
'Creator' => '창조자', 'Creator' => '창조자',
'CreditNote' => '신용 노트', 'CreditNote' => '신용 노트',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO.', 'DSO' => 'DSO.',
'Date' => '날짜', 'Date' => '날짜',
'DefaultInternational' => '기본 국제', 'DefaultInternational' => '기본 국제',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => '할인 %', 'DiscountP' => '할인 %',
'Documentation' => '선적 서류 비치', 'Documentation' => '선적 서류 비치',
'Employee' => '직원', 'Employee' => '직원',
'End' => '#VALUE!', 'End' => '',
'FAO' => '조금', 'FAO' => '조금',
'From' => '에서', 'From' => '에서',
'Group' => '그룹', 'Group' => '그룹',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => '지불', 'Payment' => '지불',
'Price' => '가격', 'Price' => '가격',
'Priority' => '우선 사항', 'Priority' => '우선 사항',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => '수량', 'Quantity' => '수량',
'Receipt' => '영수증', 'Receipt' => '영수증',
'Reference' => '참조', 'Reference' => '참조',
'Sales' => '매상', 'Sales' => '매상',
'Settings' => '설정', 'Settings' => '설정',
'Single' => '하나의', 'Single' => '하나의',
'Start' => '#VALUE!', 'Start' => '',
'State' => '상태', 'State' => '상태',
'Statistics' => '통계', 'Statistics' => '통계',
'Status' => '상태', 'Status' => '상태',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Alle', 'All' => 'Alle',
'Amount' => 'Beløp', 'Amount' => 'Beløp',
'Analysis' => 'Analyse', 'Analysis' => 'Analyse',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Område', 'Area' => 'Område',
'Article' => 'Artikkel', 'Article' => 'Artikkel',
'Articles' => 'Artikler', 'Articles' => 'Artikler',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'klient-ID', 'ClientID' => 'klient-ID',
'ClientName' => 'Klientens navn', 'ClientName' => 'Klientens navn',
'Clients' => 'Klienter', 'Clients' => 'Klienter',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Bekreftelse', 'Confirmation' => 'Bekreftelse',
'CoreData' => 'Kjernedata', 'CoreData' => 'Kjernedata',
'Country' => 'Land', 'Country' => 'Land',
'Created' => 'Opprettet', 'Created' => 'Opprettet',
'Creator' => 'Skaperen.', 'Creator' => 'Skaperen.',
'CreditNote' => 'Kredittnota', 'CreditNote' => 'Kredittnota',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO', 'DSO' => 'DSO',
'Date' => 'Dato', 'Date' => 'Dato',
'DefaultInternational' => 'Standard internasjonal', 'DefaultInternational' => 'Standard internasjonal',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Rabatt i%', 'DiscountP' => 'Rabatt i%',
'Documentation' => 'Dokumentasjon', 'Documentation' => 'Dokumentasjon',
'Employee' => 'Ansatt', 'Employee' => 'Ansatt',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'FAO.', 'FAO' => 'FAO.',
'From' => 'Fra', 'From' => 'Fra',
'Group' => 'Gruppe', 'Group' => 'Gruppe',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'innbetaling', 'Payment' => 'innbetaling',
'Price' => 'Pris', 'Price' => 'Pris',
'Priority' => 'Prioritet', 'Priority' => 'Prioritet',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Mengde', 'Quantity' => 'Mengde',
'Receipt' => 'Kvittering', 'Receipt' => 'Kvittering',
'Reference' => 'Referanse', 'Reference' => 'Referanse',
'Sales' => 'Salg', 'Sales' => 'Salg',
'Settings' => 'Innstillinger', 'Settings' => 'Innstillinger',
'Single' => 'Enkelt', 'Single' => 'Enkelt',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Stat', 'State' => 'Stat',
'Statistics' => 'Statistikk', 'Statistics' => 'Statistikk',
'Status' => 'Status', 'Status' => 'Status',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Wszystkie', 'All' => 'Wszystkie',
'Amount' => 'Kwota', 'Amount' => 'Kwota',
'Analysis' => 'Analiza', 'Analysis' => 'Analiza',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Powierzchnia', 'Area' => 'Powierzchnia',
'Article' => 'Artykuł', 'Article' => 'Artykuł',
'Articles' => 'Artykuły', 'Articles' => 'Artykuły',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'Identyfikator klienta', 'ClientID' => 'Identyfikator klienta',
'ClientName' => 'Nazwa klienta', 'ClientName' => 'Nazwa klienta',
'Clients' => 'Klienci.', 'Clients' => 'Klienci.',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Potwierdzenie', 'Confirmation' => 'Potwierdzenie',
'CoreData' => 'Podstawowe dane', 'CoreData' => 'Podstawowe dane',
'Country' => 'Kraj', 'Country' => 'Kraj',
'Created' => 'Utworzony', 'Created' => 'Utworzony',
'Creator' => 'Twórca', 'Creator' => 'Twórca',
'CreditNote' => 'Uwaga kredytowa', 'CreditNote' => 'Uwaga kredytowa',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO.', 'DSO' => 'DSO.',
'Date' => 'Data', 'Date' => 'Data',
'DefaultInternational' => 'Domyślny międzynarodowy', 'DefaultInternational' => 'Domyślny międzynarodowy',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Zniżka w%', 'DiscountP' => 'Zniżka w%',
'Documentation' => 'Dokumentacja', 'Documentation' => 'Dokumentacja',
'Employee' => 'Pracownik', 'Employee' => 'Pracownik',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'Fao.', 'FAO' => 'Fao.',
'From' => 'Z', 'From' => 'Z',
'Group' => 'Grupa', 'Group' => 'Grupa',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Zapłata', 'Payment' => 'Zapłata',
'Price' => 'Cena £', 'Price' => 'Cena £',
'Priority' => 'Priorytet', 'Priority' => 'Priorytet',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Ilość', 'Quantity' => 'Ilość',
'Receipt' => 'Paragon fiskalny', 'Receipt' => 'Paragon fiskalny',
'Reference' => 'Odniesienie', 'Reference' => 'Odniesienie',
'Sales' => 'Obroty', 'Sales' => 'Obroty',
'Settings' => 'Ustawienia', 'Settings' => 'Ustawienia',
'Single' => 'Pojedynczy', 'Single' => 'Pojedynczy',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Państwo', 'State' => 'Państwo',
'Statistics' => 'Statystyka', 'Statistics' => 'Statystyka',
'Status' => 'Status', 'Status' => 'Status',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Tudo', 'All' => 'Tudo',
'Amount' => 'Montante', 'Amount' => 'Montante',
'Analysis' => 'Análise', 'Analysis' => 'Análise',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Área', 'Area' => 'Área',
'Article' => 'Artigo', 'Article' => 'Artigo',
'Articles' => 'Artigos', 'Articles' => 'Artigos',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'ID do Cliente', 'ClientID' => 'ID do Cliente',
'ClientName' => 'Nome do cliente', 'ClientName' => 'Nome do cliente',
'Clients' => 'Clientes', 'Clients' => 'Clientes',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Confirmação', 'Confirmation' => 'Confirmação',
'CoreData' => 'Dados principais', 'CoreData' => 'Dados principais',
'Country' => 'País', 'Country' => 'País',
'Created' => 'Criado', 'Created' => 'Criado',
'Creator' => 'O Criador', 'Creator' => 'O Criador',
'CreditNote' => 'Nota de crédito', 'CreditNote' => 'Nota de crédito',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'Dso.', 'DSO' => 'Dso.',
'Date' => 'Encontro', 'Date' => 'Encontro',
'DefaultInternational' => 'Padrão Internacional', 'DefaultInternational' => 'Padrão Internacional',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Desconto em%', 'DiscountP' => 'Desconto em%',
'Documentation' => 'Documentação', 'Documentation' => 'Documentação',
'Employee' => 'Funcionário', 'Employee' => 'Funcionário',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'FAO.', 'FAO' => 'FAO.',
'From' => 'A partir de', 'From' => 'A partir de',
'Group' => 'Grupo', 'Group' => 'Grupo',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Pagamento', 'Payment' => 'Pagamento',
'Price' => 'Preço', 'Price' => 'Preço',
'Priority' => 'Prioridade', 'Priority' => 'Prioridade',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Quantidade', 'Quantity' => 'Quantidade',
'Receipt' => 'Recibo', 'Receipt' => 'Recibo',
'Reference' => 'Referência', 'Reference' => 'Referência',
'Sales' => 'Vendas', 'Sales' => 'Vendas',
'Settings' => 'Configurações', 'Settings' => 'Configurações',
'Single' => 'Solteiro', 'Single' => 'Solteiro',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Estado', 'State' => 'Estado',
'Statistics' => 'Estatisticas', 'Statistics' => 'Estatisticas',
'Status' => 'Status', 'Status' => 'Status',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Все', 'All' => 'Все',
'Amount' => 'Количество', 'Amount' => 'Количество',
'Analysis' => 'Анализ', 'Analysis' => 'Анализ',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Площадь', 'Area' => 'Площадь',
'Article' => 'Статья', 'Article' => 'Статья',
'Articles' => 'Статьи', 'Articles' => 'Статьи',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'ID клиента', 'ClientID' => 'ID клиента',
'ClientName' => 'имя клиента', 'ClientName' => 'имя клиента',
'Clients' => 'Клиенты', 'Clients' => 'Клиенты',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Подтверждение', 'Confirmation' => 'Подтверждение',
'CoreData' => 'Основные данные', 'CoreData' => 'Основные данные',
'Country' => 'Страна', 'Country' => 'Страна',
'Created' => 'Созданный', 'Created' => 'Созданный',
'Creator' => 'Создатель', 'Creator' => 'Создатель',
'CreditNote' => 'Кредитная нота', 'CreditNote' => 'Кредитная нота',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO', 'DSO' => 'DSO',
'Date' => 'Дата', 'Date' => 'Дата',
'DefaultInternational' => 'Default International', 'DefaultInternational' => 'Default International',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Скидка в%', 'DiscountP' => 'Скидка в%',
'Documentation' => 'Документация', 'Documentation' => 'Документация',
'Employee' => 'Наемный рабочий', 'Employee' => 'Наемный рабочий',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'ФАО', 'FAO' => 'ФАО',
'From' => 'От', 'From' => 'От',
'Group' => 'Группа', 'Group' => 'Группа',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Оплата', 'Payment' => 'Оплата',
'Price' => 'Цена', 'Price' => 'Цена',
'Priority' => 'Приоритет', 'Priority' => 'Приоритет',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Количество', 'Quantity' => 'Количество',
'Receipt' => 'Квитанция', 'Receipt' => 'Квитанция',
'Reference' => 'Ссылка', 'Reference' => 'Ссылка',
'Sales' => 'Продажи', 'Sales' => 'Продажи',
'Settings' => 'Настройки', 'Settings' => 'Настройки',
'Single' => 'Одинокий', 'Single' => 'Одинокий',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Состояние', 'State' => 'Состояние',
'Statistics' => 'Статистика', 'Statistics' => 'Статистика',
'Status' => 'Статус', 'Status' => 'Статус',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Allt', 'All' => 'Allt',
'Amount' => 'Belopp', 'Amount' => 'Belopp',
'Analysis' => 'Analys', 'Analysis' => 'Analys',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Område', 'Area' => 'Område',
'Article' => 'Artikel', 'Article' => 'Artikel',
'Articles' => 'Artiklar', 'Articles' => 'Artiklar',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'Klient ID', 'ClientID' => 'Klient ID',
'ClientName' => 'Kundnamn', 'ClientName' => 'Kundnamn',
'Clients' => 'Klienter', 'Clients' => 'Klienter',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Bekräftelse', 'Confirmation' => 'Bekräftelse',
'CoreData' => 'Kärndata', 'CoreData' => 'Kärndata',
'Country' => 'Land', 'Country' => 'Land',
'Created' => 'Skapad', 'Created' => 'Skapad',
'Creator' => 'Skapare', 'Creator' => 'Skapare',
'CreditNote' => 'Kreditanteckning', 'CreditNote' => 'Kreditanteckning',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'Do', 'DSO' => 'Do',
'Date' => 'Datum', 'Date' => 'Datum',
'DefaultInternational' => 'Standard International', 'DefaultInternational' => 'Standard International',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Rabatt i%', 'DiscountP' => 'Rabatt i%',
'Documentation' => 'Dokumentation', 'Documentation' => 'Dokumentation',
'Employee' => 'Anställd', 'Employee' => 'Anställd',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'Fao', 'FAO' => 'Fao',
'From' => 'Från', 'From' => 'Från',
'Group' => 'Grupp', 'Group' => 'Grupp',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Betalning', 'Payment' => 'Betalning',
'Price' => 'Pris', 'Price' => 'Pris',
'Priority' => 'Prioritet', 'Priority' => 'Prioritet',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Kvantitet', 'Quantity' => 'Kvantitet',
'Receipt' => 'Mottagande', 'Receipt' => 'Mottagande',
'Reference' => 'Referens', 'Reference' => 'Referens',
'Sales' => 'Försäljning', 'Sales' => 'Försäljning',
'Settings' => 'inställningar', 'Settings' => 'inställningar',
'Single' => 'Enda', 'Single' => 'Enda',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'stat', 'State' => 'stat',
'Statistics' => 'Statistik', 'Statistics' => 'Statistik',
'Status' => 'Status', 'Status' => 'Status',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'ทั้งหมด', 'All' => 'ทั้งหมด',
'Amount' => 'จำนวน', 'Amount' => 'จำนวน',
'Analysis' => 'การวิเคราะห์', 'Analysis' => 'การวิเคราะห์',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'พื้นที่', 'Area' => 'พื้นที่',
'Article' => 'บทความ', 'Article' => 'บทความ',
'Articles' => 'บทความ', 'Articles' => 'บทความ',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'รหัสลูกค้า', 'ClientID' => 'รหัสลูกค้า',
'ClientName' => 'ชื่อลูกค้า', 'ClientName' => 'ชื่อลูกค้า',
'Clients' => 'ลูกค้า', 'Clients' => 'ลูกค้า',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'การยืนยัน', 'Confirmation' => 'การยืนยัน',
'CoreData' => 'ข้อมูลหลัก', 'CoreData' => 'ข้อมูลหลัก',
'Country' => 'ประเทศ', 'Country' => 'ประเทศ',
'Created' => 'สร้าง', 'Created' => 'สร้าง',
'Creator' => 'ผู้สร้าง', 'Creator' => 'ผู้สร้าง',
'CreditNote' => 'ใบลดหนี้', 'CreditNote' => 'ใบลดหนี้',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO', 'DSO' => 'DSO',
'Date' => 'วันที่', 'Date' => 'วันที่',
'DefaultInternational' => 'เริ่มต้นระหว่างประเทศ', 'DefaultInternational' => 'เริ่มต้นระหว่างประเทศ',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'ส่วนลดใน%', 'DiscountP' => 'ส่วนลดใน%',
'Documentation' => 'เอกสาร', 'Documentation' => 'เอกสาร',
'Employee' => 'พนักงาน', 'Employee' => 'พนักงาน',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'คน', 'FAO' => 'คน',
'From' => 'จาก', 'From' => 'จาก',
'Group' => 'กลุ่ม', 'Group' => 'กลุ่ม',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'การชำระเงิน', 'Payment' => 'การชำระเงิน',
'Price' => 'ราคา', 'Price' => 'ราคา',
'Priority' => 'ลำดับความสำคัญ', 'Priority' => 'ลำดับความสำคัญ',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'ปริมาณ', 'Quantity' => 'ปริมาณ',
'Receipt' => 'ใบเสร็จ', 'Receipt' => 'ใบเสร็จ',
'Reference' => 'อ้างอิง', 'Reference' => 'อ้างอิง',
'Sales' => 'ฝ่ายขาย', 'Sales' => 'ฝ่ายขาย',
'Settings' => 'การตั้งค่า', 'Settings' => 'การตั้งค่า',
'Single' => 'เดี่ยว', 'Single' => 'เดี่ยว',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'สถานะ', 'State' => 'สถานะ',
'Statistics' => 'สถิติ', 'Statistics' => 'สถิติ',
'Status' => 'สถานะ', 'Status' => 'สถานะ',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Herşey', 'All' => 'Herşey',
'Amount' => 'Miktar', 'Amount' => 'Miktar',
'Analysis' => 'Analiz', 'Analysis' => 'Analiz',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Alan', 'Area' => 'Alan',
'Article' => 'Madde', 'Article' => 'Madde',
'Articles' => 'Nesne', 'Articles' => 'Nesne',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'Müşteri Kimliği', 'ClientID' => 'Müşteri Kimliği',
'ClientName' => 'Müşteri Adı', 'ClientName' => 'Müşteri Adı',
'Clients' => 'Müşteriler', 'Clients' => 'Müşteriler',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Onayla', 'Confirmation' => 'Onayla',
'CoreData' => 'Temel veri', 'CoreData' => 'Temel veri',
'Country' => 'Ülke', 'Country' => 'Ülke',
'Created' => 'Yaratılmış', 'Created' => 'Yaratılmış',
'Creator' => 'Yaratıcı', 'Creator' => 'Yaratıcı',
'CreditNote' => 'Kredi notu', 'CreditNote' => 'Kredi notu',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'Dso', 'DSO' => 'Dso',
'Date' => 'Tarih', 'Date' => 'Tarih',
'DefaultInternational' => 'Varsayılan Uluslararası', 'DefaultInternational' => 'Varsayılan Uluslararası',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => '% İndirim', 'DiscountP' => '% İndirim',
'Documentation' => 'Belgeler', 'Documentation' => 'Belgeler',
'Employee' => 'Çalışan', 'Employee' => 'Çalışan',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'FAO', 'FAO' => 'FAO',
'From' => 'İtibaren', 'From' => 'İtibaren',
'Group' => 'Grup', 'Group' => 'Grup',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Ödeme', 'Payment' => 'Ödeme',
'Price' => 'Fiyat', 'Price' => 'Fiyat',
'Priority' => 'Öncelik', 'Priority' => 'Öncelik',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Miktar', 'Quantity' => 'Miktar',
'Receipt' => 'Fiş', 'Receipt' => 'Fiş',
'Reference' => 'Referans', 'Reference' => 'Referans',
'Sales' => 'Satış', 'Sales' => 'Satış',
'Settings' => 'Ayarlar', 'Settings' => 'Ayarlar',
'Single' => 'Bekar', 'Single' => 'Bekar',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Belirtmek, bildirmek', 'State' => 'Belirtmek, bildirmek',
'Statistics' => 'İstatistik', 'Statistics' => 'İstatistik',
'Status' => 'Durum', 'Status' => 'Durum',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => 'Все', 'All' => 'Все',
'Amount' => 'Сума', 'Amount' => 'Сума',
'Analysis' => 'Аналіз', 'Analysis' => 'Аналіз',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => 'Площа', 'Area' => 'Площа',
'Article' => 'Стаття', 'Article' => 'Стаття',
'Articles' => 'Статті', 'Articles' => 'Статті',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => 'Ідентифікатор клієнта', 'ClientID' => 'Ідентифікатор клієнта',
'ClientName' => 'Назва клієнта', 'ClientName' => 'Назва клієнта',
'Clients' => 'Клієнти', 'Clients' => 'Клієнти',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => 'Підтвердження', 'Confirmation' => 'Підтвердження',
'CoreData' => 'Основні дані', 'CoreData' => 'Основні дані',
'Country' => 'Країна', 'Country' => 'Країна',
'Created' => 'Створений', 'Created' => 'Створений',
'Creator' => 'Творець', 'Creator' => 'Творець',
'CreditNote' => 'Кредитове авізо', 'CreditNote' => 'Кредитове авізо',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'Дз', 'DSO' => 'Дз',
'Date' => 'Дата', 'Date' => 'Дата',
'DefaultInternational' => 'Міжнародний за замовчуванням', 'DefaultInternational' => 'Міжнародний за замовчуванням',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => 'Знижка у%', 'DiscountP' => 'Знижка у%',
'Documentation' => 'Документація', 'Documentation' => 'Документація',
'Employee' => 'Співробітник', 'Employee' => 'Співробітник',
'End' => '#VALUE!', 'End' => '',
'FAO' => 'Фах', 'FAO' => 'Фах',
'From' => 'Від', 'From' => 'Від',
'Group' => 'Група', 'Group' => 'Група',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => 'Платіж', 'Payment' => 'Платіж',
'Price' => 'Ціна', 'Price' => 'Ціна',
'Priority' => 'Пріоритет', 'Priority' => 'Пріоритет',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => 'Кількість', 'Quantity' => 'Кількість',
'Receipt' => 'Квитанція', 'Receipt' => 'Квитанція',
'Reference' => 'Довідник', 'Reference' => 'Довідник',
'Sales' => 'Продаж', 'Sales' => 'Продаж',
'Settings' => 'Налаштування', 'Settings' => 'Налаштування',
'Single' => 'Одиночний', 'Single' => 'Одиночний',
'Start' => '#VALUE!', 'Start' => '',
'State' => 'Держава', 'State' => 'Держава',
'Statistics' => 'Статистика', 'Statistics' => 'Статистика',
'Status' => 'Статус', 'Status' => 'Статус',

View File

@ -20,7 +20,7 @@ return ['Sales' => [
'All' => '全部', 'All' => '全部',
'Amount' => '数量', 'Amount' => '数量',
'Analysis' => '分析', 'Analysis' => '分析',
'Analyze' => '#VALUE!', 'Analyze' => '',
'Area' => '区域', 'Area' => '区域',
'Article' => '文章', 'Article' => '文章',
'Articles' => '文章', 'Articles' => '文章',
@ -32,14 +32,14 @@ return ['Sales' => [
'ClientID' => '客户ID', 'ClientID' => '客户ID',
'ClientName' => '客户名称', 'ClientName' => '客户名称',
'Clients' => '客户', 'Clients' => '客户',
'Comparison' => '#VALUE!', 'Comparison' => '',
'Confirmation' => '确认', 'Confirmation' => '确认',
'CoreData' => '核心数据', 'CoreData' => '核心数据',
'Country' => '国家', 'Country' => '国家',
'Created' => '创造了', 'Created' => '创造了',
'Creator' => '创造者', 'Creator' => '创造者',
'CreditNote' => '信用票据', 'CreditNote' => '信用票据',
'Current' => '#VALUE!', 'Current' => '',
'DSO' => 'DSO', 'DSO' => 'DSO',
'Date' => '日期', 'Date' => '日期',
'DefaultInternational' => '违约国际', 'DefaultInternational' => '违约国际',
@ -51,7 +51,7 @@ return ['Sales' => [
'DiscountP' => '折扣%%', 'DiscountP' => '折扣%%',
'Documentation' => '文件', 'Documentation' => '文件',
'Employee' => '员工', 'Employee' => '员工',
'End' => '#VALUE!', 'End' => '',
'FAO' => '粮农组织', 'FAO' => '粮农组织',
'From' => '从', 'From' => '从',
'Group' => '团体', 'Group' => '团体',
@ -81,14 +81,14 @@ return ['Sales' => [
'Payment' => '支付', 'Payment' => '支付',
'Price' => '价格', 'Price' => '价格',
'Priority' => '优先事项', 'Priority' => '优先事项',
'Profit' => '#VALUE!', 'Profit' => '',
'Quantity' => '数量', 'Quantity' => '数量',
'Receipt' => '收据', 'Receipt' => '收据',
'Reference' => '参考', 'Reference' => '参考',
'Sales' => '销售量', 'Sales' => '销售量',
'Settings' => '设置', 'Settings' => '设置',
'Single' => '单身的', 'Single' => '单身的',
'Start' => '#VALUE!', 'Start' => '',
'State' => '状态', 'State' => '状态',
'Statistics' => '统计数据', 'Statistics' => '统计数据',
'Status' => '地位', 'Status' => '地位',

View File

@ -1,399 +0,0 @@
<?php
/**
* Jingga
*
* PHP Version 8.1
*
* @package Modules\Billing
* @copyright Dennis Eichhorn
* @license OMS License 2.0
* @version 1.0.0
* @link https://jingga.app
*/
declare(strict_types=1);
use phpOMS\Localization\Money;
/**
* @var \phpOMS\Views\View $this
*/
echo $this->data['nav']->render();
?>
<div class="row">
<div class="col-xs-12 col-lg-4">
<section class="portlet">
<div class="portlet-body">
<h2><?= $this->getHtml('Current'); ?></h2>
<div class="form-group">
<div class="input-control">
<label for="iOname"><?= $this->getHtml('Start'); ?></label>
<input type="date">
</div>
<div class="input-control">
<label for="iOname"><?= $this->getHtml('End'); ?></label>
<input type="date">
</div>
</div>
<h2><?= $this->getHtml('Comparison'); ?></h2>
<div class="form-group">
<div class="input-control">
<label for="iOname"><?= $this->getHtml('Start'); ?></label>
<input type="date">
</div>
<div class="input-control">
<label for="iOname"><?= $this->getHtml('End'); ?></label>
<input type="date">
</div>
</div>
</div>
<div class="portlet-foot">
<input id="iSubmitGeneral" name="submitGeneral" type="submit" value="<?= $this->getHtml('Analyze'); ?>">
</div>
</section>
</div>
<div class="col-xs-12 col-lg-4">
<section class="portlet highlight-2">
<div class="portlet-head">Actual</div>
<div class="portlet-body">
<div class="form-group">
<div>Sales MTD:</div>
<div>+12.0 %</div>
</div>
<div class="form-group">
<div>Sales YTD:</div>
<div>+1.2 %</div>
</div>
<div class="form-group">
<div>Gross Profit Current:</div>
<div>+12.0 %</div>
</div>
<div class="form-group">
<div>Gross Profit Previous:</div>
<div>+1.2 %</div>
</div>
</div>
</section>
</div>
<div class="col-xs-12 col-lg-4">
<section class="portlet highlight-3">
<div class="portlet-head">Budget</div>
<div class="portlet-body">
<div class="form-group">
<div>Sales MTD:</div>
<div>+12.0 %</div>
</div>
<div class="form-group">
<div>Sales YTD:</div>
<div>+1.2 %</div>
</div>
<div class="form-group">
<div>Gross Profit Current:</div>
<div>+12.0 %</div>
</div>
<div class="form-group">
<div>Gross Profit Budget:</div>
<div>+1.2 %</div>
</div>
</div>
</section>
</div>
</div>
<div class="row">
<div class="col-xs-12 col-lg-6">
<section class="portlet">
<div class="portlet-head">
Sales / Profit - Monthly
<?php include __DIR__ . '/../../../../Web/Backend/Themes/popup-export-data.tpl.php'; ?>
</div>
<?php $salesCustomer = $this->data['monthlySalesCustomer']; ?>
<div class="portlet-body">
<canvas id="sales-region" data-chart='{
"type": "bar",
"data": {
"labels": [
<?php
$temp = [];
foreach ($salesCustomer as $monthly) {
$temp[] = $monthly['month'] . '/' . \substr((string) $monthly['year'], -2);
}
?>
<?= '"' . \implode('", "', $temp) . '"'; ?>
],
"datasets": [
{
"label": "<?= $this->getHtml('Profit'); ?>",
"type": "line",
"data": [
<?php
$temp = [];
foreach ($salesCustomer as $monthly) {
$temp[] = ((int) $monthly['customers']);
}
?>
<?= \implode(',', $temp); ?>
],
"yAxisID": "axis-2",
"fill": false,
"borderColor": "rgb(255, 99, 132)",
"backgroundColor": "rgb(255, 99, 132)",
"tension": 0.0
},
{
"label": "<?= $this->getHtml('Sales'); ?>",
"type": "bar",
"data": [
<?php
$temp = [];
foreach ($salesCustomer as $monthly) {
$temp[] = ((int) $monthly['net_sales']) / 1000;
}
?>
<?= \implode(',', $temp); ?>
],
"yAxisID": "axis-1",
"fill": false,
"borderColor": "rgb(54, 162, 235)",
"backgroundColor": "rgb(54, 162, 235)",
"tension": 0.0
}
]
},
"options": {
"title": {
"display": false,
"text": "Sales / Profit"
},
"scales": {
"yAxes": [
{
"id": "axis-1",
"display": true,
"position": "left"
},
{
"id": "axis-2",
"display": true,
"position": "right",
"scaleLabel": {
"display": true,
"labelString": "<?= $this->getHtml('Profit'); ?>"
},
"gridLines": {
"display": false
}
}
]
}
}
}'></canvas>
<div class="more-container">
<input id="more-customer-sales" type="checkbox" name="more-container">
<label for="more-customer-sales">
<span>Data</span>
<i class="fa fa-chevron-right expand"></i>
</label>
<div>
<table class="default">
<thead>
<tr>
<td>Month
<td>Sales
<td>Customer count
<tbody>
<?php
$sum1 = 0;
$sum2 = 0;
foreach ($salesCustomer as $values) :
$sum1 += ((int) $values['net_sales']) / 1000;
$sum2 += ((int) $values['customers']);
?>
<tr>
<td><?= $values['month'] . '/' . \substr((string) $values['year'], -2); ?>
<td><?= (new Money(((int) $values['net_sales']) / 10000))->getCurrency(); ?>
<td><?= ((int) $values['customers']); ?>
<?php endforeach; ?>
<tr>
<td>Total
<td><?= (new Money($sum1))->getCurrency(); ?>
<td><?= (int) ($sum2 / 12); ?>
</table>
</div>
</div>
</div>
</section>
</div>
<div class="col-xs-12 col-lg-6">
<section class="portlet">
<div class="portlet-head">
Sales / Profit - Annual
<?php include __DIR__ . '/../../../../Web/Backend/Themes/popup-export-data.tpl.php'; ?>
</div>
<?php $salesCustomer = $this->data['annualSalesCustomer']; ?>
<div class="portlet-body">
<canvas id="sales-customer-annual" data-chart='{
"type": "bar",
"data": {
"labels": [
<?php
$temp = [];
foreach ($salesCustomer as $annual) {
$temp[] = $annual['year'];
}
?>
<?= '"' . \implode('", "', $temp) . '"'; ?>
],
"datasets": [
{
"label": "<?= $this->getHtml('Profit'); ?>",
"type": "line",
"data": [
<?php
$temp = [];
foreach ($salesCustomer as $annual) {
$temp[] = ((int) $annual['customers']);
}
?>
<?= \implode(',', $temp); ?>
],
"yAxisID": "axis-2",
"fill": false,
"borderColor": "rgb(255, 99, 132)",
"backgroundColor": "rgb(255, 99, 132)",
"tension": 0.0
},
{
"label": "<?= $this->getHtml('Sales'); ?>",
"type": "bar",
"data": [
<?php
$temp = [];
foreach ($salesCustomer as $annual) {
$temp[] = ((int) $annual['net_sales']) / 1000;
}
?>
<?= \implode(',', $temp); ?>
],
"yAxisID": "axis-1",
"fill": false,
"borderColor": "rgb(54, 162, 235)",
"backgroundColor": "rgb(54, 162, 235)",
"tension": 0.0
}
]
},
"options": {
"title": {
"display": false,
"text": "Sales / Profit"
},
"scales": {
"yAxes": [
{
"id": "axis-1",
"display": true,
"position": "left"
},
{
"id": "axis-2",
"display": true,
"position": "right",
"scaleLabel": {
"display": true,
"labelString": "<?= $this->getHtml('Profit'); ?>"
},
"gridLines": {
"display": false
}
}
]
}
}
}'></canvas>
<div class="more-container">
<input id="more-customer-sales-annual" type="checkbox" name="more-container">
<label for="more-customer-sales-annual">
<span>Data</span>
<i class="fa fa-chevron-right expand"></i>
</label>
<div>
<table class="default">
<thead>
<tr>
<td>Year
<td>Sales
<td>Customer count
<tbody>
<?php
foreach ($salesCustomer as $values) :
?>
<tr>
<td><?= (string) $values['year']; ?>
<td><?= (new Money(((int) $values['net_sales']) / 10000))->getCurrency(); ?>
<td><?= ((int) $values['customers']); ?>
<?php endforeach; ?>
</table>
</div>
</div>
</div>
</section>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<section class="portlet">
<div class="portlet-head">
Sales / Attribute
<?php include __DIR__ . '/../../../../Web/Backend/Themes/popup-export-data.tpl.php'; ?>
</div>
<table class="default">
<thead>
<tr>
<td>Product
<td>Sales PY
<td>Sales B
<td>Sales A
<td>Diff PY
<td>Diff B
<tbody>
</table>
</section>
</div>
</div>
<div class="row">
<div class="col-xs-12">
<section class="portlet">
<div class="portlet-head">
Sales / Region
<?php include __DIR__ . '/../../../../Web/Backend/Themes/popup-export-data.tpl.php'; ?>
</div>
<table class="default">
<thead>
<tr>
<td>Country
<td>Sales PY
<td>Sales B
<td>Sales A
<td>Diff PY
<td>Diff B
<tbody>
</table>
</section>
</div>
</div>