mirror of
https://github.com/Karaka-Management/oms-WarehouseManagement.git
synced 2026-01-11 15:18:41 +00:00
Merge branch 'develop'
This commit is contained in:
commit
95a2b4c417
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
|
@ -18,3 +18,5 @@ jobs:
|
|||
secrets:
|
||||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GH_PAT: ${{ secrets.GH_PAT }}
|
||||
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||
|
||||
|
|
|
|||
|
|
@ -117,7 +117,7 @@ final class Installer extends InstallerAbstract
|
|||
|
||||
$module->apiStockTypeCreate($request, $response);
|
||||
|
||||
$responseData = $response->get('');
|
||||
$responseData = $response->getData('');
|
||||
if (!\is_array($responseData)) {
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -82,11 +82,11 @@ final class ApiAttributeController extends Controller
|
|||
$attribute->ref = (int) $request->getData('ref');
|
||||
$attribute->type = new NullAttributeType((int) $request->getData('type'));
|
||||
|
||||
if ($request->hasData('value')) {
|
||||
$attribute->value = new NullAttributeValue((int) $request->getData('value'));
|
||||
if ($request->hasData('value_id')) {
|
||||
$attribute->value = new NullAttributeValue((int) $request->getData('value_id'));
|
||||
} else {
|
||||
$newRequest = clone $request;
|
||||
$newRequest->setData('value', $request->getData('custom'), true);
|
||||
$newRequest->setData('value', $request->getData('value'), true);
|
||||
|
||||
$value = $this->createLotAttributeValueFromRequest($newRequest);
|
||||
|
||||
|
|
@ -109,7 +109,7 @@ final class ApiAttributeController extends Controller
|
|||
{
|
||||
$val = [];
|
||||
if (($val['type'] = !$request->hasData('type'))
|
||||
|| ($val['value'] = (!$request->hasData('value') && !$request->hasData('custom')))
|
||||
|| ($val['value'] = (!$request->hasData('value') && !$request->hasData('value_id')))
|
||||
|| ($val['lot'] = !$request->hasData('lot'))
|
||||
) {
|
||||
return $val;
|
||||
|
|
|
|||
|
|
@ -126,7 +126,7 @@ final class ApiController extends Controller
|
|||
return;
|
||||
}
|
||||
|
||||
// @todo: check if old element existex -> removed/changed item
|
||||
// @todo: check if old element existed -> removed/changed item
|
||||
// @todo: we cannot have transaction->to and transaction->from be the id of client/supplier because the IDs can overlap
|
||||
|
||||
$transaction = new StockMovement();
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ class StockMovement
|
|||
* @var Account
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected Account $createdBy;
|
||||
public Account $createdBy;
|
||||
|
||||
/**
|
||||
* Created.
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ class StockType
|
|||
*
|
||||
* @var string|BaseStringL11n
|
||||
*/
|
||||
protected string | BaseStringL11n $l11n;
|
||||
public string | BaseStringL11n $l11n;
|
||||
|
||||
/**
|
||||
* Set l11n
|
||||
|
|
|
|||
76
README.md
76
README.md
|
|
@ -1 +1,75 @@
|
|||
# Warehousing #
|
||||
<p align="center"><img src="https://raw.githubusercontent.com/Karaka-Management/Assets/master/art/logo.png" width="256" alt="Logo"></p>
|
||||
|
||||
The Karaka software is a modular web application for small to mid sized companies that need CRM, ERP, Intranet and/or CMS functionalities and much more.
|
||||
|
||||
With Karaka you have one partner who can provide many tools and software solutions you are used to at fair and reasonable prices even for small organizations and companies/startups. Our solutions can be used independently from each other or fully integrated with other solutions we provide. By choosing Karaka as your partner you'll be able to adjust your software based on the changes in your requirements without worrying about integration and workflow optimization.
|
||||
|
||||
## Table of Contents
|
||||
|
||||
- [Table of Contents](#table-of-contents)
|
||||
- [Requirements](#requirements)
|
||||
- [Developer tools](#developer-tools)
|
||||
- [Installation](#installation)
|
||||
- [Philosophy & Demo](#philosophy--demo)
|
||||
- [Development status](#development-status)
|
||||
- [Tech stack](#tech-stack)
|
||||
- [Become a contributor](#become-a-contributor)
|
||||
- [Misc](#misc)
|
||||
|
||||
## 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
|
||||
* apache2 (recommended) or nginx
|
||||
* mysql-server (recommended) or postgresql postgresql-contrib
|
||||
* Tools: tesseract-ocr, pdftotext, pdftoppm
|
||||
* Make sure that URL rewriting is active!
|
||||
|
||||
### Developer tools
|
||||
|
||||
* Php extension: xdebug
|
||||
* Tools: Composer, Npm
|
||||
* Composer tools: phpstan, phpunit, phpcs
|
||||
* Npm tools: eslint
|
||||
|
||||
## Installation
|
||||
|
||||
Detailed installation instructions can be found at:
|
||||
|
||||
* [Developer Setup](https://github.com/Karaka-Management/Developer-Guide/blob/develop/general/setup.md)
|
||||
* [User Setup](https://github.com/Karaka-Management/User-Guide/blob/develop/setup/install.md)
|
||||
|
||||
## Philosophy & Demo
|
||||
|
||||
We believe software should support a business in it's daily tasks and growth in a very efficient way without frustration. In order to achieve this we constantly take feedback from our customers and expand and improve our software solutions.
|
||||
|
||||
You can find a freely available online demo at https://demo.karaka.app (user: admin, pass: orange) without any registration or inquiry.
|
||||
|
||||
## Development status
|
||||
|
||||
Currently Karaka is still developing the first Alpha version. As soon as we have a running Beta version we are allowing external testers to use our software and a selected amount of inhouse developed modules.
|
||||
|
||||
General updates can be found in our info section at https://jingga.app/info and developer updates can be found in our developer section at https://jingga.app/dev. In our developer section you can also check out the automatically generated reports such as code coverage, code style, static analysis etc. as well as our code style guide lines and developer documentation.
|
||||
|
||||
* [Project Status](https://github.com/Karaka-Management/Organization-Guide/blob/master/Project/PROJECT.md)
|
||||
|
||||
## Tech stack
|
||||
|
||||
* Language: php, js, c/c++, c#, html, css, markdown, shell script
|
||||
* Database: Maria/MySQL, PostgreSQL, MSSQL/SQLSrv, SQLite
|
||||
* Webserver: apache2, nginx
|
||||
* Cache: Redis, Memcached
|
||||
|
||||
## Become a contributor
|
||||
|
||||
Karaka has a very open culture and we always welcome new people who share our philosophy in providing create solutions which just work. You can find the development process description which also describes how to become a contributer in the [Organization documentation](https://github.com/Karaka-Management/Organization-Guide/blob/master/Processes/Development.md).
|
||||
|
||||
## Misc
|
||||
|
||||
* End-User documentation: https://github.com/Karaka-Management/Documentation
|
||||
* Developer documentation: https://github.com/Karaka-Management/Developer-Guide
|
||||
* Organization documentation: https://github.com/Karaka-Management/Organization-Guide
|
||||
* Website: [https://jingga.app](https://jingga.app)
|
||||
* Demo: [https://jingga.app](https://jingga.app) (user: admin, pass: orange)
|
||||
* Dev: [https://jingga.app/dev](https://jingga.app/dev)
|
||||
* Contact: info@jingga.app
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'موقع',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'رمز مطابق',
|
||||
'Month' => 'شهر',
|
||||
'Name' => 'اسم',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'شحن',
|
||||
'Statistics' => 'إحصائيات',
|
||||
'Stock' => 'المخزون',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'شارع',
|
||||
'Today' => 'اليوم',
|
||||
'Type' => 'نوع',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Umístění',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'MatchCode.',
|
||||
'Month' => 'Měsíc',
|
||||
'Name' => 'název',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Lodní doprava',
|
||||
'Statistics' => 'Statistika',
|
||||
'Stock' => 'Skladem',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'ulice',
|
||||
'Today' => 'Dnes',
|
||||
'Type' => 'Typ',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Beliggenhed',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'MatchCode.',
|
||||
'Month' => 'Måned',
|
||||
'Name' => 'Navn',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Forsendelse',
|
||||
'Statistics' => 'Statistikker',
|
||||
'Stock' => 'Lager',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'Gade',
|
||||
'Today' => 'I dag',
|
||||
'Type' => 'Type',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Ort',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Matchcode',
|
||||
'Month' => 'Monat',
|
||||
'Name' => 'Name',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Versand',
|
||||
'Statistics' => 'Statistiken',
|
||||
'Stock' => 'Aktie',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'Straße',
|
||||
'Today' => 'Heute',
|
||||
'Type' => 'Typ',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Τοποθεσία',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Matchcode',
|
||||
'Month' => 'Μήνας',
|
||||
'Name' => 'Ονομα',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Αποστολή',
|
||||
'Statistics' => 'Στατιστική',
|
||||
'Stock' => 'Στοκ',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'Δρόμος',
|
||||
'Today' => 'Σήμερα',
|
||||
'Type' => 'Τύπος',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Ubicación',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Código de asociación',
|
||||
'Month' => 'Mes',
|
||||
'Name' => 'Nombre',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Transporte',
|
||||
'Statistics' => 'Estadísticas',
|
||||
'Stock' => 'Valores',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'calle',
|
||||
'Today' => 'Hoy dia',
|
||||
'Type' => 'Escribe',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Sijainti',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Matchcode',
|
||||
'Month' => 'Kuukausi',
|
||||
'Name' => 'Nimi',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'laivaus',
|
||||
'Statistics' => 'Tilastot',
|
||||
'Stock' => 'Varasto',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'Katu',
|
||||
'Today' => 'Tänään',
|
||||
'Type' => 'Tyyppi',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Emplacement',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Encadrement',
|
||||
'Month' => 'Mois',
|
||||
'Name' => 'Nom',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Expédition',
|
||||
'Statistics' => 'Statistiques',
|
||||
'Stock' => 'Stocker',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'rue',
|
||||
'Today' => 'Aujourd\'hui',
|
||||
'Type' => 'Taper',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Elhelyezkedés',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Matchcode',
|
||||
'Month' => 'Hónap',
|
||||
'Name' => 'Név',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Szállítás',
|
||||
'Statistics' => 'Statisztika',
|
||||
'Stock' => 'Készlet',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'utca',
|
||||
'Today' => 'Ma',
|
||||
'Type' => 'típus',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Posizione',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Matchcode.',
|
||||
'Month' => 'Mese',
|
||||
'Name' => 'Nome',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Spedizione',
|
||||
'Statistics' => 'Statistiche',
|
||||
'Stock' => 'Azione',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'strada',
|
||||
'Today' => 'Oggi',
|
||||
'Type' => 'Tipo',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => '位置',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'マッチコード',
|
||||
'Month' => '月',
|
||||
'Name' => '名前',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => '運送',
|
||||
'Statistics' => '統計学',
|
||||
'Stock' => 'ストック',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => '街',
|
||||
'Today' => '今日',
|
||||
'Type' => 'タイプ',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => '위치',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => '매치 코드',
|
||||
'Month' => '월',
|
||||
'Name' => '이름',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => '배송',
|
||||
'Statistics' => '통계',
|
||||
'Stock' => '재고',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => '거리',
|
||||
'Today' => '오늘',
|
||||
'Type' => '유형',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'plassering',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'MatchCode.',
|
||||
'Month' => 'Måned',
|
||||
'Name' => 'Navn',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Shipping',
|
||||
'Statistics' => 'Statistikk',
|
||||
'Stock' => 'Lager',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'gate',
|
||||
'Today' => 'I dag',
|
||||
'Type' => 'Type',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Lokalizacja',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'MatchCode.',
|
||||
'Month' => 'Miesiąc',
|
||||
'Name' => 'Nazwa',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Wysyłka',
|
||||
'Statistics' => 'Statystyka',
|
||||
'Stock' => 'Magazyn',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'Ulica',
|
||||
'Today' => 'Dziś',
|
||||
'Type' => 'Rodzaj',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Localização',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Código de combinação',
|
||||
'Month' => 'Mês',
|
||||
'Name' => 'Nome',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Envio',
|
||||
'Statistics' => 'Estatisticas',
|
||||
'Stock' => 'Estoque',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'rua',
|
||||
'Today' => 'Hoje',
|
||||
'Type' => 'Modelo',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Место расположения',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'MatchCode.',
|
||||
'Month' => 'Месяц',
|
||||
'Name' => 'Имя',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Перевозки',
|
||||
'Statistics' => 'Статистика',
|
||||
'Stock' => 'Склад',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'улица',
|
||||
'Today' => 'Сегодня',
|
||||
'Type' => 'Тип',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Plats',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Matchcode',
|
||||
'Month' => 'Månad',
|
||||
'Name' => 'namn',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Frakt',
|
||||
'Statistics' => 'Statistik',
|
||||
'Stock' => 'Stock',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'Gata',
|
||||
'Today' => 'I dag',
|
||||
'Type' => 'Typ',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'ที่ตั้ง',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'การจับคู่',
|
||||
'Month' => 'เดือน',
|
||||
'Name' => 'ชื่อ',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'การส่งสินค้า',
|
||||
'Statistics' => 'สถิติ',
|
||||
'Stock' => 'คลังสินค้า',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'ถนน',
|
||||
'Today' => 'วันนี้',
|
||||
'Type' => 'พิมพ์',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Konum',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Maç Kodu',
|
||||
'Month' => 'Ay',
|
||||
'Name' => 'İsim',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Nakliye',
|
||||
'Statistics' => 'İstatistik',
|
||||
'Stock' => 'Stoklamak',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'sokak',
|
||||
'Today' => 'Bugün',
|
||||
'Type' => 'Tip',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => 'Місцезнаходження',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => 'Матч',
|
||||
'Month' => 'Місяць',
|
||||
'Name' => 'Назва',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => 'Доставка',
|
||||
'Statistics' => 'Статистика',
|
||||
'Stock' => 'Запас',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => 'Вулиця',
|
||||
'Today' => 'Сьогодні',
|
||||
'Type' => 'Тип',
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ return ['WarehouseManagement' => [
|
|||
'Localization' => '',
|
||||
'Localizations' => '',
|
||||
'Location' => '地点',
|
||||
'Locations' => '#VALUE!',
|
||||
'Locations' => '',
|
||||
'Matchcode' => '匹配码',
|
||||
'Month' => '月',
|
||||
'Name' => '名称',
|
||||
|
|
@ -39,7 +39,7 @@ return ['WarehouseManagement' => [
|
|||
'Shipping' => '船运',
|
||||
'Statistics' => '统计数据',
|
||||
'Stock' => '库存',
|
||||
'Stocks' => '#VALUE!',
|
||||
'Stocks' => '',
|
||||
'Street' => '街道',
|
||||
'Today' => '今天',
|
||||
'Type' => '类型',
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ final class Autoloader
|
|||
$class = \strtr($class, '_\\', '//');
|
||||
|
||||
if (\stripos($class, 'Web/Backend') !== false || \stripos($class, 'Web/Api') !== false) {
|
||||
$class = \is_dir(__DIR__ . '/Web') ? $class : \str_replace('Web/', 'Karaka/Web/', $class);
|
||||
$class = \is_dir(__DIR__ . '/Web') ? $class : \str_replace('Web/', 'MainRepository/Web/', $class);
|
||||
}
|
||||
|
||||
$class2 = $class;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,10 @@ declare(strict_types=1);
|
|||
\error_reporting(\E_ALL);
|
||||
\setlocale(\LC_ALL, 'en_US.UTF-8');
|
||||
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
if (\is_file(__DIR__ . '/../vendor/autoload.php')) {
|
||||
require_once __DIR__ . '/../vendor/autoload.php';
|
||||
}
|
||||
|
||||
require_once __DIR__ . '/Autoloader.php';
|
||||
|
||||
use phpOMS\DataStorage\Database\DatabasePool;
|
||||
|
|
@ -71,9 +74,9 @@ $CONFIG = [
|
|||
'db' => 'mysql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '3306', /* db host port */
|
||||
'login' => 'root', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -81,9 +84,9 @@ $CONFIG = [
|
|||
'db' => 'mysql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '3306', /* db host port */
|
||||
'login' => 'root', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -91,9 +94,9 @@ $CONFIG = [
|
|||
'db' => 'mysql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '3306', /* db host port */
|
||||
'login' => 'root', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -101,9 +104,9 @@ $CONFIG = [
|
|||
'db' => 'mysql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '3306', /* db host port */
|
||||
'login' => 'root', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -111,9 +114,9 @@ $CONFIG = [
|
|||
'db' => 'mysql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '3306', /* db host port */
|
||||
'login' => 'root', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -121,9 +124,9 @@ $CONFIG = [
|
|||
'db' => 'mysql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '3306', /* db host port */
|
||||
'login' => 'root', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -133,9 +136,9 @@ $CONFIG = [
|
|||
'db' => 'pgsql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '5432', /* db host port */
|
||||
'login' => 'postgres', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -143,9 +146,9 @@ $CONFIG = [
|
|||
'db' => 'pgsql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '5432', /* db host port */
|
||||
'login' => 'postgres', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -153,9 +156,9 @@ $CONFIG = [
|
|||
'db' => 'pgsql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '5432', /* db host port */
|
||||
'login' => 'postgres', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -163,9 +166,9 @@ $CONFIG = [
|
|||
'db' => 'pgsql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '5432', /* db host port */
|
||||
'login' => 'postgres', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -173,9 +176,9 @@ $CONFIG = [
|
|||
'db' => 'pgsql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '5432', /* db host port */
|
||||
'login' => 'postgres', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -183,9 +186,9 @@ $CONFIG = [
|
|||
'db' => 'pgsql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '5432', /* db host port */
|
||||
'login' => 'postgres', /* db login name */
|
||||
'password' => 'root', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'orange', /* db login password */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -233,9 +236,9 @@ $CONFIG = [
|
|||
'db' => 'mssql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '1433', /* db host port */
|
||||
'login' => 'sa', /* db login name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'c0MplicatedP@ssword', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -243,9 +246,9 @@ $CONFIG = [
|
|||
'db' => 'mssql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '1433', /* db host port */
|
||||
'login' => 'sa', /* db login name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'c0MplicatedP@ssword', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -253,9 +256,9 @@ $CONFIG = [
|
|||
'db' => 'mssql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '1433', /* db host port */
|
||||
'login' => 'sa', /* db login name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'c0MplicatedP@ssword', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -263,9 +266,9 @@ $CONFIG = [
|
|||
'db' => 'mssql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '1433', /* db host port */
|
||||
'login' => 'sa', /* db login name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'c0MplicatedP@ssword', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -273,9 +276,9 @@ $CONFIG = [
|
|||
'db' => 'mssql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '1433', /* db host port */
|
||||
'login' => 'sa', /* db login name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'c0MplicatedP@ssword', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
@ -283,9 +286,9 @@ $CONFIG = [
|
|||
'db' => 'mssql', /* db type */
|
||||
'host' => '127.0.0.1', /* db host address */
|
||||
'port' => '1433', /* db host port */
|
||||
'login' => 'sa', /* db login name */
|
||||
'login' => 'test', /* db login name */
|
||||
'password' => 'c0MplicatedP@ssword', /* db login password */
|
||||
'database' => 'oms', /* db name */
|
||||
'database' => 'omt', /* db name */
|
||||
'weight' => 1000, /* db table prefix */
|
||||
'datetimeformat' => 'Y-m-d H:i:s',
|
||||
],
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
<exclude>
|
||||
<directory>../vendor*</directory>
|
||||
<directory>../MainRepository*</directory>
|
||||
<directory>../Karaka*</directory>
|
||||
<directory>../Admin/Install/Application*</directory>
|
||||
<directory>../phpOMS*</directory>
|
||||
<directory>../tests*</directory>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user