mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-01-11 07:08:42 +00:00
Merge branch 'develop'
This commit is contained in:
commit
b6e5b70862
|
|
@ -245,7 +245,7 @@ final class ApiPurchaseController extends Controller
|
|||
);
|
||||
} catch (\Throwable $t) {
|
||||
$response->header->status = RequestStatusCode::R_400;
|
||||
$this->app->logger->error($t->getMessage());
|
||||
$this->app->logger?->error($t->getMessage());
|
||||
}
|
||||
|
||||
$this->createStandardUpdateResponse($request, $response, $bill);
|
||||
|
|
|
|||
|
|
@ -142,11 +142,7 @@ class BillMapper extends DataMapperFactory
|
|||
'referral' => [
|
||||
'mapper' => AccountMapper::class,
|
||||
'external' => 'billing_bill_referral',
|
||||
],
|
||||
'template' => [
|
||||
'mapper' => CollectionMapper::class,
|
||||
'external' => 'billing_bill_template',
|
||||
],
|
||||
]
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -18,8 +18,8 @@ With Karaka you have one partner who can provide many tools and software solutio
|
|||
|
||||
## Requirements
|
||||
|
||||
* PHP 8.1
|
||||
* PHP extension: php8.1-dev php8.1-cli php8.1-common php8.1-mysql php8.1-pgsql php8.1-xdebug php8.1-opcache php8.1-pdo php8.1-sqlite php8.1-mbstring php8.1-curl php8.1-imap php8.1-bcmath php8.1-zip php8.1-dom php8.1-xml php8.1-phar php8.1-gd php-pear
|
||||
* PHP 8.2
|
||||
* PHP extension: php8.2-dev php8.2-cli php8.2-common php8.2-intl php8.2-mysql php8.2-pgsql php8.2-xdebug php8.2-opcache php8.2-pdo php8.2-sqlite php8.2-mbstring php8.2-curl php8.2-imap php8.2-bcmath php8.2-zip php8.2-dom php8.2-xml php8.2-phar php8.2-gd php-pear
|
||||
* apache2 (recommended) or nginx
|
||||
* mysql-server (recommended) or postgresql postgresql-contrib
|
||||
* Tools: tesseract-ocr, pdftotext, pdftoppm
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'أرشيف',
|
||||
'Bill' => 'فاتورة',
|
||||
'Billing' => 'الفواتير',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Archiv',
|
||||
'Bill' => 'Účtovat',
|
||||
'Billing' => 'Fakturační',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Arkiv',
|
||||
'Bill' => 'Regning',
|
||||
'Billing' => 'Fakturering',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -19,4 +19,6 @@ return ['Navigation' => [
|
|||
'InvoiceRecognition' => 'Rechnungserkennung',
|
||||
'Open' => 'Offen',
|
||||
'Upload' => 'Hochladen',
|
||||
'PaymentTerms' => 'Zahlungsbedingungen',
|
||||
'ShippingTerms' => 'Lieferbedingungen',
|
||||
]];
|
||||
|
|
|
|||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Αρχειοθέτηση',
|
||||
'Bill' => 'Νομοσχέδιο',
|
||||
'Billing' => 'Χρέωση',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Archivo',
|
||||
'Bill' => 'Factura',
|
||||
'Billing' => 'Facturación',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Arkisto',
|
||||
'Bill' => 'Laskuttaa',
|
||||
'Billing' => 'Laskutus',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Archiver',
|
||||
'Bill' => 'Facture',
|
||||
'Billing' => 'Facturation',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Archívum',
|
||||
'Bill' => 'Számla',
|
||||
'Billing' => 'Számlázás',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Archivio',
|
||||
'Bill' => 'Conto',
|
||||
'Billing' => 'Fatturazione',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'アーカイブ',
|
||||
'Bill' => '明細書',
|
||||
'Billing' => '請求する',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => '보관소',
|
||||
'Bill' => '청구서',
|
||||
'Billing' => '청구자',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Arkivet',
|
||||
'Bill' => 'Regning',
|
||||
'Billing' => 'Fakturering',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Archiwum.',
|
||||
'Bill' => 'Rachunek',
|
||||
'Billing' => 'Dane do faktury',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Arquivo',
|
||||
'Bill' => 'Conta',
|
||||
'Billing' => 'Cobrança',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Архив',
|
||||
'Bill' => 'Счет',
|
||||
'Billing' => 'Биллинг',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Arkiv',
|
||||
'Bill' => 'Räkningen',
|
||||
'Billing' => 'Fakturering',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'คลังเก็บเอกสารสำคัญ',
|
||||
'Bill' => 'ใบแจ้งหนี้',
|
||||
'Billing' => 'การเรียกเก็บเงิน',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Arşiv',
|
||||
'Bill' => 'Fatura',
|
||||
'Billing' => 'Fatura',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => 'Архів',
|
||||
'Bill' => 'Вексель',
|
||||
'Billing' => 'Платіж',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Navigation' => [
|
||||
'Archive' => '档案',
|
||||
'Bill' => '账单',
|
||||
'Billing' => '结算',
|
||||
'InvoiceRecognition' => '',
|
||||
'Open' => '',
|
||||
'Upload' => '',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'تبوك',
|
||||
'Addresses' => 'عناوين',
|
||||
'AlreadyPaid' => 'مدفوع بالفعل',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'فواتير',
|
||||
'Bonus' => 'علاوة',
|
||||
'Cashback' => 'استرداد النقدي',
|
||||
'City' => 'مدينة',
|
||||
'Client' => 'عميل',
|
||||
'ClientID' => 'معرف العميل',
|
||||
'Confirmation' => 'تأكيد',
|
||||
'Country' => 'دولة',
|
||||
'Created' => 'خلقت',
|
||||
'CreditCard' => 'بطاقة إئتمان',
|
||||
'CreditNote' => 'اشعار دائن',
|
||||
'Currency' => '',
|
||||
'Date' => 'تاريخ',
|
||||
'Delivery' => 'توصيل',
|
||||
'DeliveryNote' => 'مذكرة تسليم',
|
||||
'DirectDebit' => 'directdebit.',
|
||||
'Discount' => 'خصم',
|
||||
'DiscountP' => 'خصم ٪',
|
||||
'Due' => 'بسبب',
|
||||
'Email' => '',
|
||||
'Freightage' => 'شحن',
|
||||
'Gross' => 'أزداد',
|
||||
'Invoice' => 'فاتورة',
|
||||
'Item' => 'العنصر',
|
||||
'Items' => 'أغراض',
|
||||
'Language' => '',
|
||||
'Log' => 'سجل',
|
||||
'Logs' => 'السجلات',
|
||||
'Media' => 'وسائط',
|
||||
'MoneyTransfer' => 'حوالة مالية',
|
||||
'Name' => 'اسم',
|
||||
'Net' => 'شبكة',
|
||||
'Offer' => 'عرض',
|
||||
'Original' => '',
|
||||
'Payment' => 'دفع',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'بريدي',
|
||||
'Prepaid' => 'مسبقة الدفع',
|
||||
'Preview' => 'معاينة',
|
||||
'Price' => 'السعر',
|
||||
'Profit' => 'ربح',
|
||||
'Quantity' => 'كمية',
|
||||
'Recipient' => 'متلقي',
|
||||
'Select' => 'يختار',
|
||||
'Shipment' => 'شحنة',
|
||||
'Source' => 'مصدر',
|
||||
'Supplier' => 'المورد',
|
||||
'SupplierID' => 'واسم المورد',
|
||||
'Tax' => 'ضريبة',
|
||||
'TermsOfDelivery' => 'شروط التوصيل',
|
||||
'Total' => 'مجموع',
|
||||
'Type' => 'نوع',
|
||||
'Types' => '',
|
||||
'Upload' => 'تحميل',
|
||||
'Zip' => 'أزيز',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Adresa',
|
||||
'Addresses' => 'Adresy',
|
||||
'AlreadyPaid' => 'Již zaplatil',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Účtenka',
|
||||
'Bonus' => 'Bonus',
|
||||
'Cashback' => 'Hotovost',
|
||||
'City' => 'Město',
|
||||
'Client' => 'Klienta',
|
||||
'ClientID' => 'ID klienta',
|
||||
'Confirmation' => 'potvrzení',
|
||||
'Country' => 'Země',
|
||||
'Created' => 'Vytvořený',
|
||||
'CreditCard' => 'Kreditní karta',
|
||||
'CreditNote' => 'Dobropis',
|
||||
'Currency' => '',
|
||||
'Date' => 'datum',
|
||||
'Delivery' => 'dodávka',
|
||||
'DeliveryNote' => 'Dodací list',
|
||||
'DirectDebit' => 'Inkaso',
|
||||
'Discount' => 'Sleva',
|
||||
'DiscountP' => 'Sleva%',
|
||||
'Due' => 'Způsoben',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Dopravné',
|
||||
'Gross' => 'Hrubý',
|
||||
'Invoice' => 'Faktura',
|
||||
'Item' => 'Položka',
|
||||
'Items' => 'Položky',
|
||||
'Language' => '',
|
||||
'Log' => 'Log',
|
||||
'Logs' => 'Protokoly',
|
||||
'Media' => 'Mediální',
|
||||
'MoneyTransfer' => 'Převod peněz',
|
||||
'Name' => 'název',
|
||||
'Net' => 'Síť',
|
||||
'Offer' => 'Nabídka',
|
||||
'Original' => '',
|
||||
'Payment' => 'Způsob platby',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Poštovní',
|
||||
'Prepaid' => 'Předplacený',
|
||||
'Preview' => 'Náhled',
|
||||
'Price' => 'Cena',
|
||||
'Profit' => 'Zisk',
|
||||
'Quantity' => 'Množství',
|
||||
'Recipient' => 'Příjemce',
|
||||
'Select' => 'Vybrat',
|
||||
'Shipment' => 'náklad',
|
||||
'Source' => 'Zdroj',
|
||||
'Supplier' => 'Dodavatel',
|
||||
'SupplierID' => 'ID dodavatele',
|
||||
'Tax' => 'Daň',
|
||||
'TermsOfDelivery' => 'Dodací podmínky',
|
||||
'Total' => 'Celkový',
|
||||
'Type' => 'Typ',
|
||||
'Types' => '',
|
||||
'Upload' => 'nahrát',
|
||||
'Zip' => 'Zip',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Adresse',
|
||||
'Addresses' => 'Adresser',
|
||||
'AlreadyPaid' => 'Allerede betalt',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Regninger.',
|
||||
'Bonus' => 'Bonus',
|
||||
'Cashback' => 'Penge tilbage',
|
||||
'City' => 'City.',
|
||||
'Client' => 'Klient',
|
||||
'ClientID' => 'Klient ID.',
|
||||
'Confirmation' => 'Bekræftelse',
|
||||
'Country' => 'Land',
|
||||
'Created' => 'Oprettet',
|
||||
'CreditCard' => 'Kreditkort',
|
||||
'CreditNote' => 'Kreditnota',
|
||||
'Currency' => '',
|
||||
'Date' => 'Dato',
|
||||
'Delivery' => 'Levering',
|
||||
'DeliveryNote' => 'Levering note',
|
||||
'DirectDebit' => 'DirectDebit.',
|
||||
'Discount' => 'Rabat',
|
||||
'DiscountP' => 'Rabat%',
|
||||
'Due' => 'På grund',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Gods',
|
||||
'Gross' => 'Brutto',
|
||||
'Invoice' => 'Faktura',
|
||||
'Item' => 'Vare',
|
||||
'Items' => 'Varer',
|
||||
'Language' => '',
|
||||
'Log' => 'Log',
|
||||
'Logs' => 'Logs.',
|
||||
'Media' => 'Medier',
|
||||
'MoneyTransfer' => 'Pengeoverførsel',
|
||||
'Name' => 'Navn',
|
||||
'Net' => 'Net',
|
||||
'Offer' => 'Tilbud',
|
||||
'Original' => '',
|
||||
'Payment' => 'Betaling',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Postal.',
|
||||
'Prepaid' => 'Forudbetalt',
|
||||
'Preview' => 'Preview.',
|
||||
'Price' => 'Pris',
|
||||
'Profit' => 'Profit',
|
||||
'Quantity' => 'Antal',
|
||||
'Recipient' => 'Modtager',
|
||||
'Select' => 'Vælg',
|
||||
'Shipment' => 'Forsendelse',
|
||||
'Source' => 'Kilde',
|
||||
'Supplier' => 'Leverandør',
|
||||
'SupplierID' => 'Leverandør ID.',
|
||||
'Tax' => 'Skat',
|
||||
'TermsOfDelivery' => 'Leveringsbetingelser',
|
||||
'Total' => 'i alt',
|
||||
'Type' => 'Type',
|
||||
'Types' => '',
|
||||
'Upload' => 'Upload',
|
||||
'Zip' => 'Zip.',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Διεύθυνση',
|
||||
'Addresses' => 'Διευθύνσεις',
|
||||
'AlreadyPaid' => 'Ήδη πληρωθεί',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Λογαριασμοί',
|
||||
'Bonus' => 'Δώρο',
|
||||
'Cashback' => 'Επιστροφή μετρητών',
|
||||
'City' => 'Πόλη',
|
||||
'Client' => 'Πελάτης',
|
||||
'ClientID' => 'ταυτότητα πελάτη',
|
||||
'Confirmation' => 'Επιβεβαίωση',
|
||||
'Country' => 'Χώρα',
|
||||
'Created' => 'Δημιουργήθηκε',
|
||||
'CreditCard' => 'Πιστωτική κάρτα',
|
||||
'CreditNote' => 'Πιστωτικό σημείωμα',
|
||||
'Currency' => '',
|
||||
'Date' => 'Ημερομηνία',
|
||||
'Delivery' => 'Διανομή',
|
||||
'DeliveryNote' => 'Δελτίο παράδοσης',
|
||||
'DirectDebit' => 'Αμεση χρέωση',
|
||||
'Discount' => 'Εκπτωση',
|
||||
'DiscountP' => 'Έκπτωση%',
|
||||
'Due' => 'Λόγω',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Ναύλος',
|
||||
'Gross' => 'Ακαθάριστο',
|
||||
'Invoice' => 'Τιμολόγιο',
|
||||
'Item' => 'Είδος',
|
||||
'Items' => 'Αντικείμενα',
|
||||
'Language' => '',
|
||||
'Log' => 'Κούτσουρο',
|
||||
'Logs' => 'Κούτσουρα',
|
||||
'Media' => 'Μεσο ΜΑΖΙΚΗΣ ΕΝΗΜΕΡΩΣΗΣ',
|
||||
'MoneyTransfer' => 'Μεταφορά χρημάτων',
|
||||
'Name' => 'Ονομα',
|
||||
'Net' => 'Καθαρά',
|
||||
'Offer' => 'Προσφορά',
|
||||
'Original' => '',
|
||||
'Payment' => 'Πληρωμή',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Ταχυδρομικός',
|
||||
'Prepaid' => 'Προπληρωμένος',
|
||||
'Preview' => 'Προεπισκόπηση',
|
||||
'Price' => 'Τιμή',
|
||||
'Profit' => 'Κέρδος',
|
||||
'Quantity' => 'Ποσότητα',
|
||||
'Recipient' => 'Παραλήπτης',
|
||||
'Select' => 'Επιλέγω',
|
||||
'Shipment' => 'Αποστολή',
|
||||
'Source' => 'Πηγή',
|
||||
'Supplier' => 'Προμηθευτής',
|
||||
'SupplierID' => 'Προμηθευτή',
|
||||
'Tax' => 'Φόρος',
|
||||
'TermsOfDelivery' => 'Οροι παράδοσης',
|
||||
'Total' => 'Σύνολο',
|
||||
'Type' => 'Τύπος',
|
||||
'Types' => '',
|
||||
'Upload' => 'Μεταφόρτω',
|
||||
'Zip' => 'Φερμουάρ',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Habla a',
|
||||
'Addresses' => 'Direcciones',
|
||||
'AlreadyPaid' => 'Ya pagado',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Facturas',
|
||||
'Bonus' => 'Prima',
|
||||
'Cashback' => 'Devolución de dinero',
|
||||
'City' => 'Ciudad',
|
||||
'Client' => 'Cliente',
|
||||
'ClientID' => 'Identificación del cliente',
|
||||
'Confirmation' => 'Confirmación',
|
||||
'Country' => 'País',
|
||||
'Created' => 'Creado',
|
||||
'CreditCard' => 'Tarjeta de crédito',
|
||||
'CreditNote' => 'Nota de crédito',
|
||||
'Currency' => '',
|
||||
'Date' => 'Fecha',
|
||||
'Delivery' => 'Entrega',
|
||||
'DeliveryNote' => 'Nota de entrega',
|
||||
'DirectDebit' => 'Débito directo',
|
||||
'Discount' => 'Descuento',
|
||||
'DiscountP' => 'Descuento%',
|
||||
'Due' => 'Vencer',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Flete',
|
||||
'Gross' => 'Bruto',
|
||||
'Invoice' => 'Factura',
|
||||
'Item' => 'Articulo',
|
||||
'Items' => 'Elementos',
|
||||
'Language' => '',
|
||||
'Log' => 'Tronco',
|
||||
'Logs' => 'Registros',
|
||||
'Media' => 'Medios de comunicación',
|
||||
'MoneyTransfer' => 'Transferencia de dinero',
|
||||
'Name' => 'Nombre',
|
||||
'Net' => 'Red',
|
||||
'Offer' => 'Oferta',
|
||||
'Original' => '',
|
||||
'Payment' => 'Pago',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Postal',
|
||||
'Prepaid' => 'Pagado por adelantado',
|
||||
'Preview' => 'Avance',
|
||||
'Price' => 'Precio',
|
||||
'Profit' => 'Lucro',
|
||||
'Quantity' => 'Cantidad',
|
||||
'Recipient' => 'Recipiente',
|
||||
'Select' => 'Seleccione',
|
||||
'Shipment' => 'Envío',
|
||||
'Source' => 'Fuente',
|
||||
'Supplier' => 'Proveedor',
|
||||
'SupplierID' => 'Identificación del proveedor',
|
||||
'Tax' => 'Impuesto',
|
||||
'TermsOfDelivery' => 'Condiciones de entrega',
|
||||
'Total' => 'Total',
|
||||
'Type' => 'Escribe',
|
||||
'Types' => '',
|
||||
'Upload' => 'Subir',
|
||||
'Zip' => 'Cremallera',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Osoite',
|
||||
'Addresses' => 'Osoitteet',
|
||||
'AlreadyPaid' => 'Jo maksettu',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Laskut',
|
||||
'Bonus' => 'Bonus',
|
||||
'Cashback' => 'Vaihtorahat',
|
||||
'City' => 'Kaupunki',
|
||||
'Client' => 'Asiakas',
|
||||
'ClientID' => 'Asiakastunnus',
|
||||
'Confirmation' => 'Vahvistus',
|
||||
'Country' => 'Maa',
|
||||
'Created' => 'Luotu',
|
||||
'CreditCard' => 'Luottokortti',
|
||||
'CreditNote' => 'Luottoluotto',
|
||||
'Currency' => '',
|
||||
'Date' => 'Päivämäärä',
|
||||
'Delivery' => 'Toimitus',
|
||||
'DeliveryNote' => 'Saapumisilmoitus',
|
||||
'DirectDebit' => 'Suoraveloitus',
|
||||
'Discount' => 'Alennus',
|
||||
'DiscountP' => 'Alennus %',
|
||||
'Due' => 'Takia',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Rahti',
|
||||
'Gross' => 'Ällöttävä',
|
||||
'Invoice' => 'Lasku',
|
||||
'Item' => 'Kohde',
|
||||
'Items' => 'Tuotteet',
|
||||
'Language' => '',
|
||||
'Log' => 'Hirsi',
|
||||
'Logs' => 'Lokit',
|
||||
'Media' => 'Media',
|
||||
'MoneyTransfer' => 'Rahansiirto',
|
||||
'Name' => 'Nimi',
|
||||
'Net' => 'Netto',
|
||||
'Offer' => 'Tarjous',
|
||||
'Original' => '',
|
||||
'Payment' => 'Maksu',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Posti-',
|
||||
'Prepaid' => 'Prepaid',
|
||||
'Preview' => 'Esikatselu',
|
||||
'Price' => 'Hinta',
|
||||
'Profit' => 'Voitto',
|
||||
'Quantity' => 'Määrä',
|
||||
'Recipient' => 'Vastaanottaja',
|
||||
'Select' => 'Valitse',
|
||||
'Shipment' => 'Lähetys',
|
||||
'Source' => 'Lähde',
|
||||
'Supplier' => 'Toimittaja',
|
||||
'SupplierID' => 'Toimittajan tunnus',
|
||||
'Tax' => 'Verottaa',
|
||||
'TermsOfDelivery' => 'Toimitusehdot',
|
||||
'Total' => 'Kaikki yhteensä',
|
||||
'Type' => 'Tyyppi',
|
||||
'Types' => '',
|
||||
'Upload' => 'Ladata',
|
||||
'Zip' => 'Postinumero',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Adresse',
|
||||
'Addresses' => 'Adresses',
|
||||
'AlreadyPaid' => 'Déjà payé',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Factures',
|
||||
'Bonus' => 'Prime',
|
||||
'Cashback' => 'Remise en argent',
|
||||
'City' => 'Ville',
|
||||
'Client' => 'Client',
|
||||
'ClientID' => 'identité du client',
|
||||
'Confirmation' => 'Confirmation',
|
||||
'Country' => 'Pays',
|
||||
'Created' => 'Établi',
|
||||
'CreditCard' => 'Carte de crédit',
|
||||
'CreditNote' => 'Note de crédit',
|
||||
'Currency' => '',
|
||||
'Date' => 'Date',
|
||||
'Delivery' => 'Livraison',
|
||||
'DeliveryNote' => 'Bon de livraison',
|
||||
'DirectDebit' => 'Prélèvement automatique',
|
||||
'Discount' => 'Remise',
|
||||
'DiscountP' => 'Remise %',
|
||||
'Due' => 'Dû',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Fret',
|
||||
'Gross' => 'Brut',
|
||||
'Invoice' => 'Facture d\'achat',
|
||||
'Item' => 'Article',
|
||||
'Items' => 'Articles',
|
||||
'Language' => '',
|
||||
'Log' => 'Enregistrer',
|
||||
'Logs' => 'Journaux',
|
||||
'Media' => 'Médias',
|
||||
'MoneyTransfer' => 'Transfert d\'argent',
|
||||
'Name' => 'Nom',
|
||||
'Net' => 'Rapporter',
|
||||
'Offer' => 'Offrir',
|
||||
'Original' => '',
|
||||
'Payment' => 'Paiement',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Postal',
|
||||
'Prepaid' => 'Prépayé',
|
||||
'Preview' => 'Aperçu',
|
||||
'Price' => 'Prix',
|
||||
'Profit' => 'Profit',
|
||||
'Quantity' => 'Quantité',
|
||||
'Recipient' => 'Destinataire',
|
||||
'Select' => 'Sélectionner',
|
||||
'Shipment' => 'Expédition',
|
||||
'Source' => 'La source',
|
||||
'Supplier' => 'Fournisseur',
|
||||
'SupplierID' => 'ID du fournisseur',
|
||||
'Tax' => 'Impôt',
|
||||
'TermsOfDelivery' => 'Conditions de livraison',
|
||||
'Total' => 'Le total',
|
||||
'Type' => 'Taper',
|
||||
'Types' => '',
|
||||
'Upload' => 'Télécharger',
|
||||
'Zip' => 'Zipper',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Cím',
|
||||
'Addresses' => 'Címek',
|
||||
'AlreadyPaid' => 'Fizetve',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Számlák',
|
||||
'Bonus' => 'Bónusz',
|
||||
'Cashback' => 'Pénzvisszafizetés',
|
||||
'City' => 'Város',
|
||||
'Client' => 'Ügyfél',
|
||||
'ClientID' => 'Ügyfélazonosító',
|
||||
'Confirmation' => 'Megerősítés',
|
||||
'Country' => 'Ország',
|
||||
'Created' => 'Létrehozott',
|
||||
'CreditCard' => 'Hitelkártya',
|
||||
'CreditNote' => 'Jóváírás',
|
||||
'Currency' => '',
|
||||
'Date' => 'Dátum',
|
||||
'Delivery' => 'Szállítás',
|
||||
'DeliveryNote' => 'Fuvarlevél',
|
||||
'DirectDebit' => 'Megparancsló',
|
||||
'Discount' => 'Kedvezmény',
|
||||
'DiscountP' => 'Árengedmény%',
|
||||
'Due' => 'Esedékes',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Fuvardíj',
|
||||
'Gross' => 'Bruttó',
|
||||
'Invoice' => 'Számla',
|
||||
'Item' => 'Tétel',
|
||||
'Items' => 'Elemek',
|
||||
'Language' => '',
|
||||
'Log' => 'Napló',
|
||||
'Logs' => 'Naplók',
|
||||
'Media' => 'Média',
|
||||
'MoneyTransfer' => 'Pénz átutalás',
|
||||
'Name' => 'Név',
|
||||
'Net' => 'Háló',
|
||||
'Offer' => 'Ajánlat',
|
||||
'Original' => '',
|
||||
'Payment' => 'Fizetés',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Postai',
|
||||
'Prepaid' => 'Előre kifizetett',
|
||||
'Preview' => 'Előnézet',
|
||||
'Price' => 'Ár',
|
||||
'Profit' => 'Nyereség',
|
||||
'Quantity' => 'Mennyiség',
|
||||
'Recipient' => 'Befogadó',
|
||||
'Select' => 'Kiválaszt',
|
||||
'Shipment' => 'Szállítmány',
|
||||
'Source' => 'Forrás',
|
||||
'Supplier' => 'Támogató',
|
||||
'SupplierID' => 'Szállítóazonosító',
|
||||
'Tax' => 'Adó',
|
||||
'TermsOfDelivery' => 'Szállítási feltételek',
|
||||
'Total' => 'Teljes',
|
||||
'Type' => 'típus',
|
||||
'Types' => '',
|
||||
'Upload' => 'Feltöltés',
|
||||
'Zip' => 'Postai irányítószám',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Indirizzo',
|
||||
'Addresses' => 'Indirizzi',
|
||||
'AlreadyPaid' => 'Già pagato',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Fatture',
|
||||
'Bonus' => 'Bonus.',
|
||||
'Cashback' => 'Rimborso',
|
||||
'City' => 'Città',
|
||||
'Client' => 'Cliente',
|
||||
'ClientID' => 'Identificativo cliente',
|
||||
'Confirmation' => 'Conferma',
|
||||
'Country' => 'Nazione',
|
||||
'Created' => 'Creato',
|
||||
'CreditCard' => 'Carta di credito',
|
||||
'CreditNote' => 'Nota di credito',
|
||||
'Currency' => '',
|
||||
'Date' => 'Data',
|
||||
'Delivery' => 'Consegna',
|
||||
'DeliveryNote' => 'Bolla d\'accompagnamento',
|
||||
'DirectDebit' => 'DirectDebit.',
|
||||
'Discount' => 'Sconto',
|
||||
'DiscountP' => 'Sconto%',
|
||||
'Due' => 'Dovuto',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Liberare',
|
||||
'Gross' => 'Schifoso',
|
||||
'Invoice' => 'Fattura',
|
||||
'Item' => 'Elemento',
|
||||
'Items' => 'Elementi',
|
||||
'Language' => '',
|
||||
'Log' => 'Tronco d\'albero',
|
||||
'Logs' => 'Logs.',
|
||||
'Media' => 'Media',
|
||||
'MoneyTransfer' => 'Trasferimento di denaro',
|
||||
'Name' => 'Nome',
|
||||
'Net' => 'Rete',
|
||||
'Offer' => 'Offerta',
|
||||
'Original' => '',
|
||||
'Payment' => 'Pagamento',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'postale',
|
||||
'Prepaid' => 'Prepagato',
|
||||
'Preview' => 'Anteprima',
|
||||
'Price' => 'Prezzo',
|
||||
'Profit' => 'Profitto',
|
||||
'Quantity' => 'Quantità',
|
||||
'Recipient' => 'Destinatario',
|
||||
'Select' => 'Selezionare',
|
||||
'Shipment' => 'Spedizione',
|
||||
'Source' => 'Fonte',
|
||||
'Supplier' => 'Fornitore',
|
||||
'SupplierID' => 'ID fornitore',
|
||||
'Tax' => 'Imposta',
|
||||
'TermsOfDelivery' => 'Termini di consegna',
|
||||
'Total' => 'Totale',
|
||||
'Type' => 'Tipo',
|
||||
'Types' => '',
|
||||
'Upload' => 'Caricamento',
|
||||
'Zip' => 'Cerniera lampo',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => '住所',
|
||||
'Addresses' => 'アドレス',
|
||||
'AlreadyPaid' => '既に支払いました',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'bill',
|
||||
'Bonus' => 'ボーナス',
|
||||
'Cashback' => 'キャッシュバック',
|
||||
'City' => '市',
|
||||
'Client' => 'クライアント',
|
||||
'ClientID' => 'クライアントID',
|
||||
'Confirmation' => '確認',
|
||||
'Country' => '国',
|
||||
'Created' => '作成した',
|
||||
'CreditCard' => 'クレジットカード',
|
||||
'CreditNote' => 'クレジットノート',
|
||||
'Currency' => '',
|
||||
'Date' => '日にち',
|
||||
'Delivery' => '配達',
|
||||
'DeliveryNote' => '配達メモ',
|
||||
'DirectDebit' => '自動引き落とし',
|
||||
'Discount' => '割引',
|
||||
'DiscountP' => '割引 %',
|
||||
'Due' => '期限',
|
||||
'Email' => '',
|
||||
'Freightage' => 'fre fre',
|
||||
'Gross' => 'きもい',
|
||||
'Invoice' => '請求書',
|
||||
'Item' => 'アイテム',
|
||||
'Items' => 'アイテム',
|
||||
'Language' => '',
|
||||
'Log' => 'ログ',
|
||||
'Logs' => 'ログ',
|
||||
'Media' => 'メディア',
|
||||
'MoneyTransfer' => '送金',
|
||||
'Name' => '名前',
|
||||
'Net' => 'ネット',
|
||||
'Offer' => 'オファー',
|
||||
'Original' => '',
|
||||
'Payment' => '支払い',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => '郵便',
|
||||
'Prepaid' => '前払い',
|
||||
'Preview' => 'プレビュー',
|
||||
'Price' => '価格',
|
||||
'Profit' => '利益',
|
||||
'Quantity' => '量',
|
||||
'Recipient' => '受信者',
|
||||
'Select' => '選択する',
|
||||
'Shipment' => '出荷',
|
||||
'Source' => 'ソース',
|
||||
'Supplier' => 'サプライヤー',
|
||||
'SupplierID' => 'サプライヤID',
|
||||
'Tax' => '税',
|
||||
'TermsOfDelivery' => '引渡条件',
|
||||
'Total' => '合計',
|
||||
'Type' => 'タイプ',
|
||||
'Types' => '',
|
||||
'Upload' => 'アップロード',
|
||||
'Zip' => 'ジップ',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => '주소',
|
||||
'Addresses' => '구애',
|
||||
'AlreadyPaid' => '이미 지불',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => '청구서',
|
||||
'Bonus' => '보너스',
|
||||
'Cashback' => '현금',
|
||||
'City' => '도시',
|
||||
'Client' => '고객',
|
||||
'ClientID' => '클라이언트 ID.',
|
||||
'Confirmation' => '확인',
|
||||
'Country' => '국가',
|
||||
'Created' => '만들어진',
|
||||
'CreditCard' => '신용 카드',
|
||||
'CreditNote' => '신용 노트',
|
||||
'Currency' => '',
|
||||
'Date' => '날짜',
|
||||
'Delivery' => '배달',
|
||||
'DeliveryNote' => '배달 메모',
|
||||
'DirectDebit' => '자동 이체',
|
||||
'Discount' => '할인',
|
||||
'DiscountP' => '할인 %',
|
||||
'Due' => '로 인한',
|
||||
'Email' => '',
|
||||
'Freightage' => '화물',
|
||||
'Gross' => '역겨운',
|
||||
'Invoice' => '송장',
|
||||
'Item' => '안건',
|
||||
'Items' => '항목',
|
||||
'Language' => '',
|
||||
'Log' => '통나무',
|
||||
'Logs' => '로그인',
|
||||
'Media' => '미디어',
|
||||
'MoneyTransfer' => '돈 이송',
|
||||
'Name' => '이름',
|
||||
'Net' => '그물',
|
||||
'Offer' => '권하다',
|
||||
'Original' => '',
|
||||
'Payment' => '지불',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => '우편 엽서',
|
||||
'Prepaid' => '선불',
|
||||
'Preview' => '시사',
|
||||
'Price' => '가격',
|
||||
'Profit' => '이익',
|
||||
'Quantity' => '수량',
|
||||
'Recipient' => '받는 사람',
|
||||
'Select' => '선택하다',
|
||||
'Shipment' => '선적',
|
||||
'Source' => '원천',
|
||||
'Supplier' => '공급자',
|
||||
'SupplierID' => '공급자 ID.',
|
||||
'Tax' => '세',
|
||||
'TermsOfDelivery' => '배달의 조건',
|
||||
'Total' => '총',
|
||||
'Type' => '유형',
|
||||
'Types' => '',
|
||||
'Upload' => '업로드',
|
||||
'Zip' => '지퍼',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Adresse',
|
||||
'Addresses' => 'Adresser',
|
||||
'AlreadyPaid' => 'Allerede betalt',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Regninger',
|
||||
'Bonus' => 'Bonus',
|
||||
'Cashback' => 'Penger tilbake',
|
||||
'City' => 'By',
|
||||
'Client' => 'Klient',
|
||||
'ClientID' => 'klient-ID',
|
||||
'Confirmation' => 'Bekreftelse',
|
||||
'Country' => 'Land',
|
||||
'Created' => 'Opprettet',
|
||||
'CreditCard' => 'Kredittkort',
|
||||
'CreditNote' => 'Kredittnota',
|
||||
'Currency' => '',
|
||||
'Date' => 'Dato',
|
||||
'Delivery' => 'Leveranse',
|
||||
'DeliveryNote' => 'Leveringsnotat',
|
||||
'DirectDebit' => 'DirectDebit',
|
||||
'Discount' => 'Rabatt',
|
||||
'DiscountP' => 'Rabatt%',
|
||||
'Due' => 'På grunn av det',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Frakt',
|
||||
'Gross' => 'Ekkelt',
|
||||
'Invoice' => 'Faktura',
|
||||
'Item' => 'Punkt',
|
||||
'Items' => 'Elementer',
|
||||
'Language' => '',
|
||||
'Log' => 'Logg',
|
||||
'Logs' => 'Tømmerstokker',
|
||||
'Media' => 'Media',
|
||||
'MoneyTransfer' => 'Pengeoverføring',
|
||||
'Name' => 'Navn',
|
||||
'Net' => 'Nett',
|
||||
'Offer' => 'By på',
|
||||
'Original' => '',
|
||||
'Payment' => 'innbetaling',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Postal.',
|
||||
'Prepaid' => 'Forhåndsbetalt',
|
||||
'Preview' => 'Forhåndsvisning',
|
||||
'Price' => 'Pris',
|
||||
'Profit' => 'Profitt',
|
||||
'Quantity' => 'Mengde',
|
||||
'Recipient' => 'Mottaker',
|
||||
'Select' => 'Plukke ut',
|
||||
'Shipment' => 'Forsendelse',
|
||||
'Source' => 'Kilde',
|
||||
'Supplier' => 'Leverandør',
|
||||
'SupplierID' => 'Leverandør ID.',
|
||||
'Tax' => 'Avgift',
|
||||
'TermsOfDelivery' => 'Leveringsvilkår',
|
||||
'Total' => 'Total',
|
||||
'Type' => 'Type',
|
||||
'Types' => '',
|
||||
'Upload' => 'Laste opp',
|
||||
'Zip' => 'Glidelås',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Adres',
|
||||
'Addresses' => 'Adresy',
|
||||
'AlreadyPaid' => 'Już zapłacone',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Rachunki',
|
||||
'Bonus' => 'Premia',
|
||||
'Cashback' => 'Zwrot gotówki',
|
||||
'City' => 'Miasto',
|
||||
'Client' => 'Klient',
|
||||
'ClientID' => 'Identyfikator klienta',
|
||||
'Confirmation' => 'Potwierdzenie',
|
||||
'Country' => 'Kraj',
|
||||
'Created' => 'Utworzony',
|
||||
'CreditCard' => 'Karta kredytowa',
|
||||
'CreditNote' => 'Uwaga kredytowa',
|
||||
'Currency' => '',
|
||||
'Date' => 'Data',
|
||||
'Delivery' => 'Dostawa',
|
||||
'DeliveryNote' => 'Dowód dostawy',
|
||||
'DirectDebit' => 'Polecenie zapłaty',
|
||||
'Discount' => 'Zniżka',
|
||||
'DiscountP' => 'Zniżka %',
|
||||
'Due' => 'Z powodu',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Frachtowanie',
|
||||
'Gross' => 'Brutto',
|
||||
'Invoice' => 'Faktura',
|
||||
'Item' => 'Przedmiot',
|
||||
'Items' => 'Przedmiotów',
|
||||
'Language' => '',
|
||||
'Log' => 'Dziennik',
|
||||
'Logs' => 'Kłody',
|
||||
'Media' => 'Głoska bezdźwięczna',
|
||||
'MoneyTransfer' => 'Transfer pieniędzy',
|
||||
'Name' => 'Nazwa',
|
||||
'Net' => 'Internet',
|
||||
'Offer' => 'Oferta',
|
||||
'Original' => '',
|
||||
'Payment' => 'Zapłata',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Pocztowy',
|
||||
'Prepaid' => 'Opłacony z góry',
|
||||
'Preview' => 'Zapowiedź',
|
||||
'Price' => 'Cena £',
|
||||
'Profit' => 'Zysk',
|
||||
'Quantity' => 'Ilość',
|
||||
'Recipient' => 'Odbiorca',
|
||||
'Select' => 'Wybierać',
|
||||
'Shipment' => 'Wysyłka',
|
||||
'Source' => 'Źródło',
|
||||
'Supplier' => 'Dostawca',
|
||||
'SupplierID' => 'identyfikator dostawcy',
|
||||
'Tax' => 'Podatek',
|
||||
'TermsOfDelivery' => 'Warunki dostarczenia',
|
||||
'Total' => 'Całkowity',
|
||||
'Type' => 'Rodzaj',
|
||||
'Types' => '',
|
||||
'Upload' => 'Wgrywać',
|
||||
'Zip' => 'Zamek błyskawiczny',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Endereço',
|
||||
'Addresses' => 'Endereços',
|
||||
'AlreadyPaid' => 'Já pago',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Notas',
|
||||
'Bonus' => 'Bônus',
|
||||
'Cashback' => 'Dinheiro de volta',
|
||||
'City' => 'Cidade',
|
||||
'Client' => 'Cliente',
|
||||
'ClientID' => 'ID do Cliente',
|
||||
'Confirmation' => 'Confirmação',
|
||||
'Country' => 'País',
|
||||
'Created' => 'Criado',
|
||||
'CreditCard' => 'Cartão de crédito',
|
||||
'CreditNote' => 'Nota de crédito',
|
||||
'Currency' => '',
|
||||
'Date' => 'Encontro',
|
||||
'Delivery' => 'Entrega',
|
||||
'DeliveryNote' => 'Nota de entrega',
|
||||
'DirectDebit' => 'Débito Direto',
|
||||
'Discount' => 'Desconto',
|
||||
'DiscountP' => 'Desconto%',
|
||||
'Due' => 'Vencimento',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Freightage',
|
||||
'Gross' => 'Bruto',
|
||||
'Invoice' => 'Fatura',
|
||||
'Item' => 'Item',
|
||||
'Items' => 'Itens',
|
||||
'Language' => '',
|
||||
'Log' => 'Registro',
|
||||
'Logs' => 'Histórico',
|
||||
'Media' => 'meios de comunicação',
|
||||
'MoneyTransfer' => 'Transferência de dinheiro',
|
||||
'Name' => 'Nome',
|
||||
'Net' => 'Internet',
|
||||
'Offer' => 'Oferta',
|
||||
'Original' => '',
|
||||
'Payment' => 'Pagamento',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Postal',
|
||||
'Prepaid' => 'Pré-pago',
|
||||
'Preview' => 'Pré-visualização',
|
||||
'Price' => 'Preço',
|
||||
'Profit' => 'Lucro',
|
||||
'Quantity' => 'Quantidade',
|
||||
'Recipient' => 'Destinatário',
|
||||
'Select' => 'Selecione.',
|
||||
'Shipment' => 'envio',
|
||||
'Source' => 'Fonte',
|
||||
'Supplier' => 'Fornecedor',
|
||||
'SupplierID' => 'Identificação do Fornecedor',
|
||||
'Tax' => 'Imposto',
|
||||
'TermsOfDelivery' => 'Termos de entrega',
|
||||
'Total' => 'Total',
|
||||
'Type' => 'Modelo',
|
||||
'Types' => '',
|
||||
'Upload' => 'Envio',
|
||||
'Zip' => 'Fecho eclair',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Адрес',
|
||||
'Addresses' => 'Адреса',
|
||||
'AlreadyPaid' => 'Уже оплачено',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Счета',
|
||||
'Bonus' => 'Бонус',
|
||||
'Cashback' => 'Возврат наличных',
|
||||
'City' => 'Город',
|
||||
'Client' => 'Клиент',
|
||||
'ClientID' => 'ID клиента',
|
||||
'Confirmation' => 'Подтверждение',
|
||||
'Country' => 'Страна',
|
||||
'Created' => 'Созданный',
|
||||
'CreditCard' => 'Кредитная карта',
|
||||
'CreditNote' => 'Кредитная нота',
|
||||
'Currency' => '',
|
||||
'Date' => 'Дата',
|
||||
'Delivery' => 'Доставка',
|
||||
'DeliveryNote' => 'Накладная',
|
||||
'DirectDebit' => 'DirectDebit.',
|
||||
'Discount' => 'Скидка',
|
||||
'DiscountP' => 'Скидка %',
|
||||
'Due' => 'Должное',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Фрахты',
|
||||
'Gross' => 'Валовой',
|
||||
'Invoice' => 'Счет',
|
||||
'Item' => 'Пункт',
|
||||
'Items' => 'Предметы',
|
||||
'Language' => '',
|
||||
'Log' => 'Бревно',
|
||||
'Logs' => 'Журналы',
|
||||
'Media' => 'Средства массовой информации',
|
||||
'MoneyTransfer' => 'Перевод денег',
|
||||
'Name' => 'Имя',
|
||||
'Net' => 'Сеть',
|
||||
'Offer' => 'Предложение',
|
||||
'Original' => '',
|
||||
'Payment' => 'Оплата',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Почтовый',
|
||||
'Prepaid' => 'Предоплаты',
|
||||
'Preview' => 'Превью',
|
||||
'Price' => 'Цена',
|
||||
'Profit' => 'Выгода',
|
||||
'Quantity' => 'Количество',
|
||||
'Recipient' => 'Получатель',
|
||||
'Select' => 'Выбирать',
|
||||
'Shipment' => 'Отгрузка',
|
||||
'Source' => 'Источник',
|
||||
'Supplier' => 'Поставщик',
|
||||
'SupplierID' => 'ID поставщик',
|
||||
'Tax' => 'Налог',
|
||||
'TermsOfDelivery' => 'Условия доставки',
|
||||
'Total' => 'Всего',
|
||||
'Type' => 'Тип',
|
||||
'Types' => '',
|
||||
'Upload' => 'Загрузить',
|
||||
'Zip' => 'Zip.',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Adress',
|
||||
'Addresses' => 'Adresser',
|
||||
'AlreadyPaid' => 'Redan betalat',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Räkningar',
|
||||
'Bonus' => 'Bonus',
|
||||
'Cashback' => 'Pengar tillbaka',
|
||||
'City' => 'Stad',
|
||||
'Client' => 'Klient',
|
||||
'ClientID' => 'Klient ID',
|
||||
'Confirmation' => 'Bekräftelse',
|
||||
'Country' => 'Land',
|
||||
'Created' => 'Skapad',
|
||||
'CreditCard' => 'Kreditkort',
|
||||
'CreditNote' => 'Kreditanteckning',
|
||||
'Currency' => '',
|
||||
'Date' => 'Datum',
|
||||
'Delivery' => 'Leverans',
|
||||
'DeliveryNote' => 'Leveransanteckning',
|
||||
'DirectDebit' => 'Direktbetalning',
|
||||
'Discount' => 'Rabatt',
|
||||
'DiscountP' => 'Rabatt%',
|
||||
'Due' => 'På grund av',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Frakt',
|
||||
'Gross' => 'Äckligt',
|
||||
'Invoice' => 'Faktura',
|
||||
'Item' => 'Artikel',
|
||||
'Items' => 'Objekt',
|
||||
'Language' => '',
|
||||
'Log' => 'Logga',
|
||||
'Logs' => 'Loggar',
|
||||
'Media' => 'Media',
|
||||
'MoneyTransfer' => 'Pengaöverföring',
|
||||
'Name' => 'namn',
|
||||
'Net' => 'Netto',
|
||||
'Offer' => 'Erbjudande',
|
||||
'Original' => '',
|
||||
'Payment' => 'Betalning',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Post',
|
||||
'Prepaid' => 'Förbetalt',
|
||||
'Preview' => 'Förhandsvisning',
|
||||
'Price' => 'Pris',
|
||||
'Profit' => 'Vinst',
|
||||
'Quantity' => 'Kvantitet',
|
||||
'Recipient' => 'Mottagare',
|
||||
'Select' => 'Välj',
|
||||
'Shipment' => 'Sändning',
|
||||
'Source' => 'Källa',
|
||||
'Supplier' => 'Leverantör',
|
||||
'SupplierID' => 'Leverantörs-ID',
|
||||
'Tax' => 'Beskatta',
|
||||
'TermsOfDelivery' => 'Leveransvillkor',
|
||||
'Total' => 'Total',
|
||||
'Type' => 'Typ',
|
||||
'Types' => '',
|
||||
'Upload' => 'Ladda upp',
|
||||
'Zip' => 'Blixtlås',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'ที่อยู่',
|
||||
'Addresses' => 'ที่อยู่',
|
||||
'AlreadyPaid' => 'จ่ายแล้ว',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'การเรียกเก็บเงิน',
|
||||
'Bonus' => 'โบนัส',
|
||||
'Cashback' => 'เงินคืน',
|
||||
'City' => 'เมือง',
|
||||
'Client' => 'ลูกค้า',
|
||||
'ClientID' => 'รหัสลูกค้า',
|
||||
'Confirmation' => 'การยืนยัน',
|
||||
'Country' => 'ประเทศ',
|
||||
'Created' => 'สร้าง',
|
||||
'CreditCard' => 'บัตรเครดิต',
|
||||
'CreditNote' => 'ใบลดหนี้',
|
||||
'Currency' => '',
|
||||
'Date' => 'วันที่',
|
||||
'Delivery' => 'จัดส่ง',
|
||||
'DeliveryNote' => 'บันทึกการส่งมอบ',
|
||||
'DirectDebit' => 'การหักบัญชีธนาคาร',
|
||||
'Discount' => 'การลดราคา',
|
||||
'DiscountP' => 'การลดราคา %',
|
||||
'Due' => 'เนื่องจาก',
|
||||
'Email' => '',
|
||||
'Freightage' => 'การขนส่งสินค้า',
|
||||
'Gross' => 'ทั้งหมด',
|
||||
'Invoice' => 'ใบแจ้งหนี้',
|
||||
'Item' => 'สิ่งของ',
|
||||
'Items' => 'รายการ',
|
||||
'Language' => '',
|
||||
'Log' => 'บันทึก',
|
||||
'Logs' => 'การบันทึก',
|
||||
'Media' => 'สื่อ',
|
||||
'MoneyTransfer' => 'การโอนเงิน',
|
||||
'Name' => 'ชื่อ',
|
||||
'Net' => 'สุทธิ',
|
||||
'Offer' => 'เสนอ',
|
||||
'Original' => '',
|
||||
'Payment' => 'การชำระเงิน',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'เกี่ยวกับการไปรษณีย์',
|
||||
'Prepaid' => 'ชำระล่วงหน้า',
|
||||
'Preview' => 'ดูตัวอย่าง',
|
||||
'Price' => 'ราคา',
|
||||
'Profit' => 'กำไร',
|
||||
'Quantity' => 'ปริมาณ',
|
||||
'Recipient' => 'ผู้รับ',
|
||||
'Select' => 'เลือก',
|
||||
'Shipment' => 'การจัดส่ง',
|
||||
'Source' => 'แหล่งที่มา',
|
||||
'Supplier' => 'ผู้ผลิต',
|
||||
'SupplierID' => 'ID ผู้จัดหา',
|
||||
'Tax' => 'ภาษี',
|
||||
'TermsOfDelivery' => 'เงื่อนไขการส่งสินค้า',
|
||||
'Total' => 'ทั้งหมด',
|
||||
'Type' => 'พิมพ์',
|
||||
'Types' => '',
|
||||
'Upload' => 'ที่อัพโหลด',
|
||||
'Zip' => 'ซิป',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Adres',
|
||||
'Addresses' => 'Adresler',
|
||||
'AlreadyPaid' => 'Zaten ödendi',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Faturalar',
|
||||
'Bonus' => 'Bonus',
|
||||
'Cashback' => 'Nakit para',
|
||||
'City' => 'Şehir',
|
||||
'Client' => 'Müşteri',
|
||||
'ClientID' => 'Müşteri Kimliği',
|
||||
'Confirmation' => 'Onayla',
|
||||
'Country' => 'Ülke',
|
||||
'Created' => 'Yaratılmış',
|
||||
'CreditCard' => 'Kredi kartı',
|
||||
'CreditNote' => 'Kredi notu',
|
||||
'Currency' => '',
|
||||
'Date' => 'Tarih',
|
||||
'Delivery' => 'Teslimat',
|
||||
'DeliveryNote' => 'Teslimat notu',
|
||||
'DirectDebit' => 'Otomatik ödeme',
|
||||
'Discount' => 'İndirim',
|
||||
'DiscountP' => 'İndirim %',
|
||||
'Due' => 'Vadesi dolmuş',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Yük',
|
||||
'Gross' => 'Brüt',
|
||||
'Invoice' => 'Fatura',
|
||||
'Item' => 'Kalem',
|
||||
'Items' => 'Öğeler',
|
||||
'Language' => '',
|
||||
'Log' => 'Kayıt',
|
||||
'Logs' => 'Kütükler',
|
||||
'Media' => 'Medya',
|
||||
'MoneyTransfer' => 'Para transferi',
|
||||
'Name' => 'İsim',
|
||||
'Net' => 'Ağ',
|
||||
'Offer' => 'Teklif',
|
||||
'Original' => '',
|
||||
'Payment' => 'Ödeme',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Posta',
|
||||
'Prepaid' => 'Ön ödemeli',
|
||||
'Preview' => 'Ön izleme',
|
||||
'Price' => 'Fiyat',
|
||||
'Profit' => 'Kâr',
|
||||
'Quantity' => 'Miktar',
|
||||
'Recipient' => 'Alıcı',
|
||||
'Select' => 'Seçme',
|
||||
'Shipment' => 'gönderi',
|
||||
'Source' => 'Kaynak',
|
||||
'Supplier' => 'Tedarikçi',
|
||||
'SupplierID' => 'tedarikçi kimliği',
|
||||
'Tax' => 'Vergi',
|
||||
'TermsOfDelivery' => 'Teslimat şartları',
|
||||
'Total' => 'Toplam',
|
||||
'Type' => 'Tip',
|
||||
'Types' => '',
|
||||
'Upload' => 'Yüklemek',
|
||||
'Zip' => 'Zip',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => 'Адреса',
|
||||
'Addresses' => 'Адреси',
|
||||
'AlreadyPaid' => 'Вже оплачено',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => 'Векселі',
|
||||
'Bonus' => 'Бонус',
|
||||
'Cashback' => 'Готівка',
|
||||
'City' => 'Місто',
|
||||
'Client' => 'Клієнт',
|
||||
'ClientID' => 'Ідентифікатор клієнта',
|
||||
'Confirmation' => 'Підтвердження',
|
||||
'Country' => 'Країна',
|
||||
'Created' => 'Створений',
|
||||
'CreditCard' => 'Кредитна карта',
|
||||
'CreditNote' => 'Кредитове авізо',
|
||||
'Currency' => '',
|
||||
'Date' => 'Дата',
|
||||
'Delivery' => 'Доставка',
|
||||
'DeliveryNote' => 'Накладна',
|
||||
'DirectDebit' => 'Прямий дебет',
|
||||
'Discount' => 'Знижка',
|
||||
'DiscountP' => 'Знижка%',
|
||||
'Due' => 'Заборгованість',
|
||||
'Email' => '',
|
||||
'Freightage' => 'Фрахт',
|
||||
'Gross' => 'Валовий',
|
||||
'Invoice' => 'Рахунок-фактура',
|
||||
'Item' => 'Елемент',
|
||||
'Items' => 'Предмети',
|
||||
'Language' => '',
|
||||
'Log' => 'Журнал',
|
||||
'Logs' => 'Журнали',
|
||||
'Media' => 'Медіа',
|
||||
'MoneyTransfer' => 'Грошовий переказ',
|
||||
'Name' => 'Назва',
|
||||
'Net' => 'Сітка',
|
||||
'Offer' => 'Пропозиція',
|
||||
'Original' => '',
|
||||
'Payment' => 'Платіж',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => 'Поштовий',
|
||||
'Prepaid' => 'Передплачений',
|
||||
'Preview' => 'Попередній перегляд',
|
||||
'Price' => 'Ціна',
|
||||
'Profit' => 'Прибуток',
|
||||
'Quantity' => 'Кількість',
|
||||
'Recipient' => 'Одержувач',
|
||||
'Select' => 'Вибирати',
|
||||
'Shipment' => 'Відвантаження',
|
||||
'Source' => 'Джерело',
|
||||
'Supplier' => 'Постачальник',
|
||||
'SupplierID' => 'Ідентифікатор постачальника',
|
||||
'Tax' => 'Оподаткування',
|
||||
'TermsOfDelivery' => 'Умови поставки',
|
||||
'Total' => 'Загальний',
|
||||
'Type' => 'Тип',
|
||||
'Types' => '',
|
||||
'Upload' => 'Завантажувати',
|
||||
'Zip' => 'Блиск',
|
||||
]];
|
||||
|
|
@ -1,77 +0,0 @@
|
|||
<?php
|
||||
/**
|
||||
* Jingga
|
||||
*
|
||||
* PHP Version 8.1
|
||||
*
|
||||
* @package Modules\Localization
|
||||
* @copyright Dennis Eichhorn
|
||||
* @license OMS License 2.0
|
||||
* @version 1.0.0
|
||||
* @link https://jingga.app
|
||||
*/
|
||||
declare(strict_types=1);
|
||||
|
||||
return ['Billing' => [
|
||||
'Address' => '地址',
|
||||
'Addresses' => '地址',
|
||||
'AlreadyPaid' => '已付款',
|
||||
'Amount' => '',
|
||||
'Archive' => '',
|
||||
'Billing' => '',
|
||||
'Bills' => '账单',
|
||||
'Bonus' => '奖金',
|
||||
'Cashback' => '返现金',
|
||||
'City' => '城市',
|
||||
'Client' => '客户',
|
||||
'ClientID' => '客户ID',
|
||||
'Confirmation' => '确认',
|
||||
'Country' => '国家',
|
||||
'Created' => '创造了',
|
||||
'CreditCard' => '信用卡',
|
||||
'CreditNote' => '信用票据',
|
||||
'Currency' => '',
|
||||
'Date' => '日期',
|
||||
'Delivery' => '交货',
|
||||
'DeliveryNote' => '送货单',
|
||||
'DirectDebit' => 'DirectDebit.',
|
||||
'Discount' => '折扣',
|
||||
'DiscountP' => '折扣 %',
|
||||
'Due' => '到期的',
|
||||
'Email' => '',
|
||||
'Freightage' => 'FRIGUTAGE.',
|
||||
'Gross' => '总的',
|
||||
'Invoice' => '发票',
|
||||
'Item' => '物品',
|
||||
'Items' => '项目',
|
||||
'Language' => '',
|
||||
'Log' => '日志',
|
||||
'Logs' => '日志',
|
||||
'Media' => '媒体',
|
||||
'MoneyTransfer' => '汇款',
|
||||
'Name' => '名称',
|
||||
'Net' => '网',
|
||||
'Offer' => '提供',
|
||||
'Original' => '',
|
||||
'Payment' => '支付',
|
||||
'PaymentPlan' => '',
|
||||
'Postal' => '邮政',
|
||||
'Prepaid' => '预付款',
|
||||
'Preview' => '预览',
|
||||
'Price' => '价格',
|
||||
'Profit' => '利润',
|
||||
'Quantity' => '数量',
|
||||
'Recipient' => '接受者',
|
||||
'Select' => '选择',
|
||||
'Shipment' => '运输',
|
||||
'Source' => '来源',
|
||||
'Supplier' => '供应商',
|
||||
'SupplierID' => '供应商ID',
|
||||
'Tax' => '税',
|
||||
'TermsOfDelivery' => '递送条款',
|
||||
'Total' => '全部的',
|
||||
'Type' => '类型',
|
||||
'Types' => '',
|
||||
'Upload' => '上传',
|
||||
'Zip' => '压缩',
|
||||
]];
|
||||
|
|
@ -8,15 +8,15 @@
|
|||
}
|
||||
],
|
||||
"require-dev": {
|
||||
"phpunit/phpunit": ">=9.4",
|
||||
"friendsofphp/php-cs-fixer": ">=3.8",
|
||||
"squizlabs/php_codesniffer": ">=3.6",
|
||||
"phpunit/phpunit": ">=11.0",
|
||||
"friendsofphp/php-cs-fixer": ">=3.51",
|
||||
"squizlabs/php_codesniffer": ">=3.7",
|
||||
"phpmd/phpmd": ">=2.9",
|
||||
"phpstan/phpstan": ">=1.8.6",
|
||||
"phpstan/phpstan": ">=1.10.62",
|
||||
"phan/phan": ">=3.2.6",
|
||||
"phploc/phploc": ">=7.0",
|
||||
"phpmetrics/phpmetrics": ">=2.8",
|
||||
"rector/rector": ">=0.18.0"
|
||||
"rector/rector": ">=1.0.3"
|
||||
},
|
||||
"minimum-stability": "dev",
|
||||
"prefer-stable": true
|
||||
|
|
|
|||
|
|
@ -100,9 +100,9 @@ trait ApiBillControllerTrait
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Controller\ApiController
|
||||
* @group module
|
||||
* @covers \Modules\Billing\Controller\ApiController
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testBillCreateInvalidData() : void
|
||||
{
|
||||
$response = new HttpResponse();
|
||||
|
|
@ -116,9 +116,9 @@ trait ApiBillControllerTrait
|
|||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Controller\ApiController
|
||||
* @group module
|
||||
* @covers \Modules\Billing\Controller\ApiController
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testBillElementCreateInvalidData() : void
|
||||
{
|
||||
$response = new HttpResponse();
|
||||
|
|
|
|||
|
|
@ -31,10 +31,9 @@ use phpOMS\Router\WebRouter;
|
|||
use phpOMS\Utils\TestUtils;
|
||||
|
||||
/**
|
||||
* @testdox Modules\tests\Billing\Controller\ApiControllerTest: Billing api controller
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\TestDox('Modules\tests\Billing\Controller\ApiControllerTest: Billing api controller')]
|
||||
final class ApiControllerTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
protected ApplicationAbstract $app;
|
||||
|
|
|
|||
|
|
@ -16,10 +16,13 @@ namespace Modules\Billing\tests\Models;
|
|||
|
||||
use Modules\Billing\Models\BillElement;
|
||||
use Modules\Billing\Models\NullBill;
|
||||
use Modules\ItemManagement\Models\NullItem;
|
||||
use phpOMS\Stdlib\Base\FloatInt;
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\BillElement::class)]
|
||||
final class BillElementTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
private BillElement $element;
|
||||
|
|
@ -32,10 +35,7 @@ final class BillElementTest extends \PHPUnit\Framework\TestCase
|
|||
$this->element = new BillElement();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\BillElement
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testDefault() : void
|
||||
{
|
||||
self::assertEquals(0, $this->element->id);
|
||||
|
|
@ -45,24 +45,18 @@ final class BillElementTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertInstanceOf('\phpOMS\Stdlib\Base\FloatInt', $this->element->totalPurchasePriceNet);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\BillElement
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testItemInputOutput() : void
|
||||
{
|
||||
$this->element->setItem(123);
|
||||
self::assertEquals(123, $this->element->item);
|
||||
self::assertEquals(123, $this->element->item->id);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\BillElement
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testSerialize() : void
|
||||
{
|
||||
$this->element->order = 2;
|
||||
$this->element->item = 3;
|
||||
$this->element->item = new NullItem(3);
|
||||
$this->element->itemNumber = '123456';
|
||||
$this->element->itemName = 'Test';
|
||||
$this->element->itemDescription = 'Description';
|
||||
|
|
@ -77,7 +71,7 @@ final class BillElementTest extends \PHPUnit\Framework\TestCase
|
|||
'itemNumber' => '123456',
|
||||
'itemName' => 'Test',
|
||||
'itemDescription' => 'Description',
|
||||
'quantity' => 4,
|
||||
'quantity' => new FloatInt(4),
|
||||
'bill' => $this->element->bill,
|
||||
],
|
||||
$this->element->jsonSerialize()
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ use Modules\Billing\Models\NullBillType;
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\Bill::class)]
|
||||
final class BillTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
private Bill $bill;
|
||||
|
|
@ -32,15 +33,11 @@ final class BillTest extends \PHPUnit\Framework\TestCase
|
|||
$this->bill = new Bill();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\Bill
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testDefault() : void
|
||||
{
|
||||
self::assertEquals(0, $this->bill->id);
|
||||
self::assertEquals('', $this->bill->number);
|
||||
self::assertEquals('', $this->bill->referralName);
|
||||
self::assertEquals('', $this->bill->info);
|
||||
self::assertInstanceOf('\Modules\Billing\Models\NullBillType', $this->bill->type);
|
||||
self::assertInstanceOf('\DateTimeImmutable', $this->bill->createdAt);
|
||||
|
|
@ -66,12 +63,8 @@ final class BillTest extends \PHPUnit\Framework\TestCase
|
|||
|
||||
self::assertInstanceOf('\phpOMS\Stdlib\Base\FloatInt', $this->bill->netSales);
|
||||
self::assertInstanceOf('\phpOMS\Stdlib\Base\FloatInt', $this->bill->grossSales);
|
||||
|
||||
self::assertInstanceOf('\phpOMS\Stdlib\Base\FloatInt', $this->bill->netProfit);
|
||||
self::assertInstanceOf('\phpOMS\Stdlib\Base\FloatInt', $this->bill->grossProfit);
|
||||
|
||||
self::assertInstanceOf('\phpOMS\Stdlib\Base\FloatInt', $this->bill->netCosts);
|
||||
self::assertInstanceOf('\phpOMS\Stdlib\Base\FloatInt', $this->bill->grossCosts);
|
||||
|
||||
self::assertEquals(0, $this->bill->payment);
|
||||
self::assertEquals('', $this->bill->paymentText);
|
||||
|
|
@ -81,20 +74,14 @@ final class BillTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertEquals('', $this->bill->shippingText);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\Bill
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testNumberRendering() : void
|
||||
{
|
||||
$this->bill->type->numberFormat = '{y}{m}{d}-{id}';
|
||||
self::assertEquals(\date('Y') . \date('m') . \date('d') . '-0', $this->bill->getNumber());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\Bill
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testSerialize() : void
|
||||
{
|
||||
$this->bill->number = '123456';
|
||||
|
|
@ -129,6 +116,7 @@ final class BillTest extends \PHPUnit\Framework\TestCase
|
|||
'billCity' => 'City',
|
||||
'billZip' => 'Zip',
|
||||
'billCountry' => 'Country',
|
||||
'external' => '',
|
||||
],
|
||||
$this->bill->jsonSerialize()
|
||||
);
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ use phpOMS\Localization\BaseStringL11n;
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\BillType::class)]
|
||||
final class BillTypeTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
private BillType $type;
|
||||
|
|
@ -32,20 +33,14 @@ final class BillTypeTest extends \PHPUnit\Framework\TestCase
|
|||
$this->type = new BillType();
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\BillType
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testDefault() : void
|
||||
{
|
||||
self::assertEquals(0, $this->type->id);
|
||||
self::assertTrue($this->type->transferStock);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\BillType
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testL11nInputOutput() : void
|
||||
{
|
||||
$this->type->setL11n('Test1');
|
||||
|
|
|
|||
|
|
@ -26,9 +26,8 @@ require_once __DIR__ . '/../Autoloader.php';
|
|||
*/
|
||||
final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testNetSales($json, $content) : void
|
||||
{
|
||||
$billObj = new Bill();
|
||||
|
|
@ -39,9 +38,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertEquals($test['netSales'], $billObj->netSales->value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testTaxRate($json, $content) : void
|
||||
{
|
||||
$billObj = new Bill();
|
||||
|
|
@ -52,9 +50,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertEquals($test['tax_rate'], \reset($billObj->elements)->taxR->value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testGrossSales($json, $content) : void
|
||||
{
|
||||
$billObj = new Bill();
|
||||
|
|
@ -65,9 +62,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertEquals($test['grossSales'], $billObj->grossSales->value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testTaxAmount($json, $content) : void
|
||||
{
|
||||
$billObj = new Bill();
|
||||
|
|
@ -78,9 +74,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertEquals($test['tax_amount'], $billObj->taxP->value);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testBillDate($json, $content) : void
|
||||
{
|
||||
$billObj = new Bill();
|
||||
|
|
@ -91,9 +86,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertEquals($test['bill_date'], $billObj->billDate?->format('Y-m-d'));
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testBillLanguage($json, $content) : void
|
||||
{
|
||||
$billObj = new Bill();
|
||||
|
|
@ -104,9 +98,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertEquals($test['language'], $billObj->language);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testBillCurrency($json, $content) : void
|
||||
{
|
||||
$billObj = new Bill();
|
||||
|
|
@ -117,9 +110,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
self::assertEquals($test['currency'], $billObj->currency);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testIban($json, $content) : void
|
||||
{
|
||||
$identifierContent = \file_get_contents(__DIR__ . '/../../Models/bill_identifier.json');
|
||||
|
|
@ -146,9 +138,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testVATId($json, $content) : void
|
||||
{
|
||||
$identifierContent = \file_get_contents(__DIR__ . '/../../Models/bill_identifier.json');
|
||||
|
|
@ -175,9 +166,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testTaxId($json, $content) : void
|
||||
{
|
||||
$identifierContent = \file_get_contents(__DIR__ . '/../../Models/bill_identifier.json');
|
||||
|
|
@ -204,9 +194,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testWebsite($json, $content) : void
|
||||
{
|
||||
$identifierContent = \file_get_contents(__DIR__ . '/../../Models/bill_identifier.json');
|
||||
|
|
@ -233,9 +222,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testEmail($json, $content) : void
|
||||
{
|
||||
$identifierContent = \file_get_contents(__DIR__ . '/../../Models/bill_identifier.json');
|
||||
|
|
@ -262,9 +250,8 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider billList
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\DataProvider('billList')]
|
||||
#[\PHPUnit\Framework\Attributes\Group('maybe')]
|
||||
public function testPhone($json, $content) : void
|
||||
{
|
||||
$identifierContent = \file_get_contents(__DIR__ . '/../../Models/bill_identifier.json');
|
||||
|
|
@ -293,7 +280,7 @@ final class InvoiceRecognitionTest extends \PHPUnit\Framework\TestCase
|
|||
|
||||
public static array $billList = [];
|
||||
|
||||
public function billList()
|
||||
public static function billList()
|
||||
{
|
||||
/*
|
||||
if (\str_ends_with(__DIR__ . '/bills/12.png', 'pdf')) {
|
||||
|
|
|
|||
|
|
@ -19,31 +19,23 @@ use Modules\Billing\Models\NullBillElement;
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\NullBillElement::class)]
|
||||
final class NullBillElementTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullBillElement
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testNull() : void
|
||||
{
|
||||
self::assertInstanceOf('\Modules\Billing\Models\BillElement', new NullBillElement());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullBillElement
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testId() : void
|
||||
{
|
||||
$null = new NullBillElement(2);
|
||||
self::assertEquals(2, $null->id);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullBillElement
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullBillElement(2);
|
||||
|
|
|
|||
|
|
@ -19,31 +19,23 @@ use Modules\Billing\Models\NullBill;
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\NullBill::class)]
|
||||
final class NullBillTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullBill
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testNull() : void
|
||||
{
|
||||
self::assertInstanceOf('\Modules\Billing\Models\Bill', new NullBill());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullBill
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testId() : void
|
||||
{
|
||||
$null = new NullBill(2);
|
||||
self::assertEquals(2, $null->id);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullBill
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullBill(2);
|
||||
|
|
|
|||
|
|
@ -19,31 +19,23 @@ use Modules\Billing\Models\NullBillType;
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\NullBillType::class)]
|
||||
final class NullBillTypeTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullBillType
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testNull() : void
|
||||
{
|
||||
self::assertInstanceOf('\Modules\Billing\Models\BillType', new NullBillType());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullBillType
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testId() : void
|
||||
{
|
||||
$null = new NullBillType(2);
|
||||
self::assertEquals(2, $null->id);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullBillType
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullBillType(2);
|
||||
|
|
|
|||
|
|
@ -19,31 +19,23 @@ use Modules\Billing\Models\NullSubscription;
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\NullSubscription::class)]
|
||||
final class NullSubscriptionTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullSubscription
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testNull() : void
|
||||
{
|
||||
self::assertInstanceOf('\Modules\Billing\Models\Subscription', new NullSubscription());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullSubscription
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testId() : void
|
||||
{
|
||||
$null = new NullSubscription(2);
|
||||
self::assertEquals(2, $null->id);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\NullSubscription
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullSubscription(2);
|
||||
|
|
|
|||
|
|
@ -19,31 +19,23 @@ use Modules\Billing\Models\Price\NullPrice;
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\Price\NullPrice::class)]
|
||||
final class NullPriceTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Billing\Models\Price\NullPrice
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testNull() : void
|
||||
{
|
||||
self::assertInstanceOf('\Modules\Billing\Models\Price\Price', new NullPrice());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\Price\NullPrice
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testId() : void
|
||||
{
|
||||
$null = new NullPrice(2);
|
||||
self::assertEquals(2, $null->id);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\Price\NullPrice
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullPrice(2);
|
||||
|
|
|
|||
|
|
@ -17,124 +17,85 @@ namespace Modules\Billing\tests\Models;
|
|||
use Modules\Billing\Models\PurchaseBillMapper;
|
||||
|
||||
/**
|
||||
* @testdox Modules\Billing\tests\Models\PurchaseBillMapperTest: App database mapper
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\PurchaseBillMapper::class)]
|
||||
#[\PHPUnit\Framework\Attributes\TestDox('Modules\Billing\tests\Models\PurchaseBillMapperTest: App database mapper')]
|
||||
final class PurchaseBillMapperTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetPurchaseBeforePivotInvalid() : void
|
||||
{
|
||||
self::assertEquals([], PurchaseBillMapper::getPurchaseBeforePivot(-1));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetPurchaseAfterPivotInvalid() : void
|
||||
{
|
||||
self::assertEquals([], PurchaseBillMapper::getPurchaseAfterPivot(99999));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetPurchaseByItemIdInvalid() : void
|
||||
{
|
||||
self::assertEquals(0, PurchaseBillMapper::getPurchaseByItemId(99999, new \DateTime('now'), new \DateTime('now'))->getInt());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetPurchaseBySupplierIdInvalid() : void
|
||||
{
|
||||
self::assertEquals(0, PurchaseBillMapper::getPurchaseBySupplierId(99999, new \DateTime('now'), new \DateTime('now'))->getInt());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetAvgPurchasePriceByItemIdInvalid() : void
|
||||
{
|
||||
self::assertEquals(0, PurchaseBillMapper::getAvgPurchasePriceByItemId(99999, new \DateTime('now'), new \DateTime('now'))->getInt());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetLastOrderDateByItemIdInvalid() : void
|
||||
{
|
||||
self::assertNull(PurchaseBillMapper::getLastOrderDateByItemId(99999));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetLastOrderDateBySupplierIdInvalid() : void
|
||||
{
|
||||
self::assertNull(PurchaseBillMapper::getLastOrderDateBySupplierId(99999));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetNewestItemInvoicesInvalid() : void
|
||||
{
|
||||
self::assertEquals([], PurchaseBillMapper::getNewestItemInvoices(99999));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetNewestSupplierInvoicesInvalid() : void
|
||||
{
|
||||
self::assertEquals([], PurchaseBillMapper::getNewestSupplierInvoices(99999));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetItemTopSuppliersInvalid() : void
|
||||
{
|
||||
self::assertEquals([[], []], PurchaseBillMapper::getItemTopSuppliers(99999, new \DateTime('now'), new \DateTime('now')));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetItemCountryPurchaseInvalid() : void
|
||||
{
|
||||
self::assertEquals([], PurchaseBillMapper::getItemCountryPurchase(99999, new \DateTime('now'), new \DateTime('now')));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetItemMonthlyPurchaseCostsInvalid() : void
|
||||
{
|
||||
self::assertEquals([], PurchaseBillMapper::getItemMonthlyPurchaseCosts(99999, new \DateTime('now'), new \DateTime('now')));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\PurchaseBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetSupplierMonthlyPurchaseCostsInvalid() : void
|
||||
{
|
||||
self::assertEquals([], PurchaseBillMapper::getSupplierMonthlyPurchaseCosts(99999, new \DateTime('now'), new \DateTime('now')));
|
||||
|
|
|
|||
|
|
@ -17,133 +17,91 @@ namespace Modules\Billing\tests\Models;
|
|||
use Modules\Billing\Models\SalesBillMapper;
|
||||
|
||||
/**
|
||||
* @testdox Modules\Billing\tests\Models\SalesBillMapperTest: App database mapper
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\SalesBillMapper::class)]
|
||||
#[\PHPUnit\Framework\Attributes\TestDox('Modules\Billing\tests\Models\SalesBillMapperTest: App database mapper')]
|
||||
final class SalesBillMapperTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetSalesBeforePivotInvalid() : void
|
||||
{
|
||||
self::assertEquals([], SalesBillMapper::getSalesBeforePivot(-1));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetSalesAfterPivotInvalid() : void
|
||||
{
|
||||
self::assertEquals([], SalesBillMapper::getSalesAfterPivot(99999));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetSalesByItemIdInvalid() : void
|
||||
{
|
||||
self::assertEquals(0, SalesBillMapper::getSalesByItemId(99999, new \DateTime('now'), new \DateTime('now'))->getInt());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetSalesByClientIdInvalid() : void
|
||||
{
|
||||
self::assertEquals(0, SalesBillMapper::getSalesByClientId(99999, new \DateTime('now'), new \DateTime('now'))->getInt());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetLastOrderDateByItemIdInvalid() : void
|
||||
{
|
||||
self::assertNull(SalesBillMapper::getLastOrderDateByItemId(99999));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetLastOrderDateByClientIdInvalid() : void
|
||||
{
|
||||
self::assertNull(SalesBillMapper::getLastOrderDateByClientId(99999));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetNewestItemInvoicesInvalid() : void
|
||||
{
|
||||
self::assertEquals([], SalesBillMapper::getNewestItemInvoices(99999));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetNewestClientInvoicesInvalid() : void
|
||||
{
|
||||
self::assertEquals([], SalesBillMapper::getNewestClientInvoices(99999));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetItemTopClientsInvalid() : void
|
||||
{
|
||||
self::assertEquals([[], []], SalesBillMapper::getItemTopClients(99999, new \DateTime('now'), new \DateTime('now')));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetItemBillsInvalid() : void
|
||||
{
|
||||
self::assertEquals([], SalesBillMapper::getItemBills(99999, new \DateTime('now'), new \DateTime('now')));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetClientItem() : void
|
||||
{
|
||||
self::assertEquals([], SalesBillMapper::getClientItem(99999, new \DateTime('now'), new \DateTime('now')));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetItemCountrySalesInvalid() : void
|
||||
{
|
||||
self::assertEquals([], SalesBillMapper::getItemCountrySales(99999, new \DateTime('now'), new \DateTime('now')));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetItemMonthlySalesCostsInvalid() : void
|
||||
{
|
||||
self::assertEquals([], SalesBillMapper::getItemMonthlySalesCosts([99999], new \DateTime('now'), new \DateTime('now')));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\SalesBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetClientMonthlySalesCostsInvalid() : void
|
||||
{
|
||||
self::assertEquals([], SalesBillMapper::getClientMonthlySalesCosts(99999, new \DateTime('now'), new \DateTime('now')));
|
||||
|
|
|
|||
|
|
@ -17,25 +17,19 @@ namespace Modules\Billing\tests\Models;
|
|||
use Modules\Billing\Models\StockBillMapper;
|
||||
|
||||
/**
|
||||
* @testdox Modules\Billing\tests\Models\StockBillMapperTest: App database mapper
|
||||
*
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\StockBillMapper::class)]
|
||||
#[\PHPUnit\Framework\Attributes\TestDox('Modules\Billing\tests\Models\StockBillMapperTest: App database mapper')]
|
||||
final class StockBillMapperTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Billing\Models\StockBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetStockBeforePivotInvalid() : void
|
||||
{
|
||||
self::assertEquals([], StockBillMapper::getStockBeforePivot(-1));
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\StockBillMapper
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testGetStockAfterPivotInvalid() : void
|
||||
{
|
||||
self::assertEquals([], StockBillMapper::getStockAfterPivot(99999));
|
||||
|
|
|
|||
|
|
@ -19,31 +19,23 @@ use Modules\Billing\Models\Tax\NullTaxCombination;
|
|||
/**
|
||||
* @internal
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\CoversClass(\Modules\Billing\Models\Tax\NullTaxCombination::class)]
|
||||
final class NullTaxCombinationTest extends \PHPUnit\Framework\TestCase
|
||||
{
|
||||
/**
|
||||
* @covers Modules\Billing\Models\Tax\NullTaxCombination
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testNull() : void
|
||||
{
|
||||
self::assertInstanceOf('\Modules\Billing\Models\Tax\TaxCombination', new NullTaxCombination());
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\Tax\NullTaxCombination
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testId() : void
|
||||
{
|
||||
$null = new NullTaxCombination(2);
|
||||
self::assertEquals(2, $null->id);
|
||||
}
|
||||
|
||||
/**
|
||||
* @covers Modules\Billing\Models\Tax\NullTaxCombination
|
||||
* @group module
|
||||
*/
|
||||
#[\PHPUnit\Framework\Attributes\Group('module')]
|
||||
public function testJsonSerialize() : void
|
||||
{
|
||||
$null = new NullTaxCombination(2);
|
||||
|
|
|
|||
|
|
@ -1,31 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="Bootstrap.php" colors="true" columns="120" stopOnError="true" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" beStrictAboutTestsThatDoNotTestAnything="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
|
||||
<coverage includeUncoveredFiles="true" processUncoveredFiles="false">
|
||||
<include>
|
||||
<directory suffix=".php">../</directory>
|
||||
</include>
|
||||
<exclude>
|
||||
<directory>../vendor*</directory>
|
||||
<directory>../MainRepository*</directory>
|
||||
<directory>../Karaka*</directory>
|
||||
<directory>../Admin/Install/Application*</directory>
|
||||
<directory>../phpOMS*</directory>
|
||||
<directory>../tests*</directory>
|
||||
<directory>../*/tests*</directory>
|
||||
<directory>../**/tests*</directory>
|
||||
<directory>*/tests*</directory>
|
||||
<directory suffix="tpl.php">../*</directory>
|
||||
<directory suffix="lang.php">../*</directory>
|
||||
<directory suffix="Test.php">../*</directory>
|
||||
<directory suffix="Routes.php">../*</directory>
|
||||
<directory suffix="Hooks.php">../*</directory>
|
||||
<directory>../**/test*</directory>
|
||||
<directory>../**/Theme*</directory>
|
||||
<directory>../**/Admin/Routes*</directory>
|
||||
<directory>../**/Admin/Hooks*</directory>
|
||||
<directory>../**/Admin/Install*</directory>
|
||||
<directory>../Media/Files*</directory>
|
||||
</exclude>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="Bootstrap.php" colors="true" columns="120" stopOnError="true" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" beStrictAboutTestsThatDoNotTestAnything="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.0/phpunit.xsd" cacheDirectory=".phpunit.cache">
|
||||
<coverage includeUncoveredFiles="true">
|
||||
<report>
|
||||
<clover outputFile="coverage.xml"/>
|
||||
<html outputDirectory="../tests" lowUpperBound="75" highLowerBound="95"/>
|
||||
|
|
@ -56,4 +31,31 @@
|
|||
<const name="WEB_SERVER_DOCROOT" value="./Karaka"/>
|
||||
<const name="RESET" value="1"/>
|
||||
</php>
|
||||
<source>
|
||||
<include>
|
||||
<directory suffix=".php">../</directory>
|
||||
</include>
|
||||
<exclude>
|
||||
<directory>../vendor*</directory>
|
||||
<directory>../MainRepository*</directory>
|
||||
<directory>../Karaka*</directory>
|
||||
<directory>../Admin/Install/Application*</directory>
|
||||
<directory>../phpOMS*</directory>
|
||||
<directory>../tests*</directory>
|
||||
<directory>../*/tests*</directory>
|
||||
<directory>../**/tests*</directory>
|
||||
<directory>*/tests*</directory>
|
||||
<directory suffix="tpl.php">../*</directory>
|
||||
<directory suffix="lang.php">../*</directory>
|
||||
<directory suffix="Test.php">../*</directory>
|
||||
<directory suffix="Routes.php">../*</directory>
|
||||
<directory suffix="Hooks.php">../*</directory>
|
||||
<directory>../**/test*</directory>
|
||||
<directory>../**/Theme*</directory>
|
||||
<directory>../**/Admin/Routes*</directory>
|
||||
<directory>../**/Admin/Hooks*</directory>
|
||||
<directory>../**/Admin/Install*</directory>
|
||||
<directory>../Media/Files*</directory>
|
||||
</exclude>
|
||||
</source>
|
||||
</phpunit>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user