change namespace and composer.json
|
@ -1,26 +1,41 @@
|
||||||
{
|
{
|
||||||
"name": "mirzaev/calculator",
|
"name": "mirzaev/tordv-calculator",
|
||||||
"description": "Калькулятор рассчетов затрат для предприятия по резке металла",
|
"description": "Калькулятор стоимости услуг по обработке металла",
|
||||||
"type": "project",
|
"readme": "README.md",
|
||||||
"license": "AGPL-3.0-or-later",
|
"keywords": [
|
||||||
"homepage": "https://git.hood.su/mirzaev/calculator",
|
"site",
|
||||||
|
"calculator"
|
||||||
|
],
|
||||||
|
"type": "site",
|
||||||
|
"homepage": "https://git.mirzaev.sexy/mirzaev/tordv-calculator",
|
||||||
|
"license": "WTFPL",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "Arsen Mirzaev Tatyano-Muradovich",
|
"name": "Arsen Mirzaev Tatyano-Muradovich",
|
||||||
"email": "arsen@mirzaev.sexy",
|
"email": "arsen@mirzaev.sexy",
|
||||||
"homepage": "https://mirzaev.sexy",
|
"homepage": "https://mirzaev.sexy",
|
||||||
"role": "Developer"
|
"role": "Programmer"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"support": {
|
||||||
"php": "^8.0.0",
|
"email": "arsen@mirzaev.sexy",
|
||||||
"mirzaev/minimal": "^2.0.x-dev",
|
"wiki": "https://git.mirzaev.sexy/mirzaev/tordv-calculator/wiki",
|
||||||
"twig/twig": "^3.3",
|
"issues": "https://git.mirzaev.sexy/mirzaev/tordv-calculator/issues"
|
||||||
"phpoffice/phpspreadsheet": "^1.20"
|
|
||||||
},
|
},
|
||||||
"autoload": {
|
"funding": [
|
||||||
"psr-4": {
|
{
|
||||||
"mirzaev\\calculator\\": "mirzaev/calculator/system"
|
"type": "funding",
|
||||||
|
"url": "https://fund.mirzaev.sexy"
|
||||||
|
],
|
||||||
|
"require": {
|
||||||
|
"php": "^8.0.0",
|
||||||
|
"mirzaev/minimal": "^2.0.x-dev",
|
||||||
|
"twig/twig": "^3.3",
|
||||||
|
"phpoffice/phpspreadsheet": "^1.20"
|
||||||
|
},
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"mirzaev\\tordv\\calculator\\": "mirzaev/tordv/calculator/system"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\controllers;
|
namespace mirzaev\tordv\calculator\controllers;
|
||||||
|
|
||||||
use mirzaev\calculator\controllers\core;
|
use mirzaev\tordv\calculator\controllers\core;
|
||||||
|
|
||||||
use mirzaev\calculator\models\accounts_model as accounts;
|
use mirzaev\tordv\calculator\models\accounts_model as accounts;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Контроллер пользователей
|
* Контроллер пользователей
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\controllers
|
* @package mirzaev\tordv\calculator\controllers
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class accounts_controller extends core
|
final class accounts_controller extends core
|
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\controllers;
|
namespace mirzaev\tordv\calculator\controllers;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use mirzaev\calculator\controllers\core;
|
use mirzaev\tordv\calculator\controllers\core;
|
||||||
use mirzaev\calculator\models\calculators_model as calculators;
|
use mirzaev\tordv\calculator\models\calculators_model as calculators;
|
||||||
use mirzaev\calculator\models\settings_model as settings;
|
use mirzaev\tordv\calculator\models\settings_model as settings;
|
||||||
use mirzaev\calculator\models\metals_model as metals;
|
use mirzaev\tordv\calculator\models\metals_model as metals;
|
||||||
|
|
||||||
use Twig\Loader\FilesystemLoader;
|
use Twig\Loader\FilesystemLoader;
|
||||||
use Twig\Environment as view;
|
use Twig\Environment as view;
|
||||||
|
@ -16,7 +16,7 @@ use Twig\Environment as view;
|
||||||
/**
|
/**
|
||||||
* Контроллер основной страницы
|
* Контроллер основной страницы
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\controllers
|
* @package mirzaev\tordv\calculator\controllers
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class calculator_controller extends core
|
final class calculator_controller extends core
|
|
@ -2,15 +2,15 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\controllers;
|
namespace mirzaev\tordv\calculator\controllers;
|
||||||
|
|
||||||
use mirzaev\calculator\controllers\core;
|
use mirzaev\tordv\calculator\controllers\core;
|
||||||
use mirzaev\calculator\models\accounts_model as accounts;
|
use mirzaev\tordv\calculator\models\accounts_model as accounts;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Контроллер контактов
|
* Контроллер контактов
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\controllers
|
* @package mirzaev\tordv\calculator\controllers
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class contacts_controller extends core
|
final class contacts_controller extends core
|
|
@ -2,17 +2,17 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\controllers;
|
namespace mirzaev\tordv\calculator\controllers;
|
||||||
|
|
||||||
use mirzaev\calculator\views\manager;
|
use mirzaev\tordv\calculator\views\manager;
|
||||||
use mirzaev\calculator\models\core as models;
|
use mirzaev\tordv\calculator\models\core as models;
|
||||||
|
|
||||||
use mirzaev\minimal\controller;
|
use mirzaev\minimal\controller;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Менеджер представлений
|
* Менеджер представлений
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\controllers
|
* @package mirzaev\tordv\calculator\controllers
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
class core extends controller
|
class core extends controller
|
|
@ -2,9 +2,9 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\controllers;
|
namespace mirzaev\tordv\calculator\controllers;
|
||||||
|
|
||||||
use mirzaev\calculator\controllers\core;
|
use mirzaev\tordv\calculator\controllers\core;
|
||||||
|
|
||||||
use Twig\Loader\FilesystemLoader;
|
use Twig\Loader\FilesystemLoader;
|
||||||
use Twig\Environment as view;
|
use Twig\Environment as view;
|
||||||
|
@ -12,7 +12,7 @@ use Twig\Environment as view;
|
||||||
/**
|
/**
|
||||||
* Контроллер основной страницы
|
* Контроллер основной страницы
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\controllers
|
* @package mirzaev\tordv\calculator\controllers
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class errors_controller extends core
|
final class errors_controller extends core
|
|
@ -2,15 +2,15 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\controllers;
|
namespace mirzaev\tordv\calculator\controllers;
|
||||||
|
|
||||||
use mirzaev\calculator\controllers\core;
|
use mirzaev\tordv\calculator\controllers\core;
|
||||||
use mirzaev\calculator\models\accounts_model as accounts;
|
use mirzaev\tordv\calculator\models\accounts_model as accounts;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Контроллер журналов
|
* Контроллер журналов
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\controllers
|
* @package mirzaev\tordv\calculator\controllers
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class journal_controller extends core
|
final class journal_controller extends core
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\controllers;
|
namespace mirzaev\tordv\calculator\controllers;
|
||||||
|
|
||||||
use mirzaev\calculator\controllers\core;
|
use mirzaev\tordv\calculator\controllers\core;
|
||||||
use mirzaev\calculator\models\accounts_model as accounts;
|
use mirzaev\tordv\calculator\models\accounts_model as accounts;
|
||||||
|
|
||||||
use Twig\Loader\FilesystemLoader;
|
use Twig\Loader\FilesystemLoader;
|
||||||
use Twig\Environment as view;
|
use Twig\Environment as view;
|
||||||
|
@ -13,7 +13,7 @@ use Twig\Environment as view;
|
||||||
/**
|
/**
|
||||||
* Контроллер основной страницы
|
* Контроллер основной страницы
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\controllers
|
* @package mirzaev\tordv\calculator\controllers
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class main_controller extends core
|
final class main_controller extends core
|
|
@ -2,16 +2,16 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\controllers;
|
namespace mirzaev\tordv\calculator\controllers;
|
||||||
|
|
||||||
use mirzaev\calculator\controllers\core;
|
use mirzaev\tordv\calculator\controllers\core;
|
||||||
use mirzaev\calculator\models\accounts_model as accounts;
|
use mirzaev\tordv\calculator\models\accounts_model as accounts;
|
||||||
use mirzaev\calculator\models\settings_model as settings;
|
use mirzaev\tordv\calculator\models\settings_model as settings;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Контроллер настроек
|
* Контроллер настроек
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\controllers
|
* @package mirzaev\tordv\calculator\controllers
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class settings_controller extends core
|
final class settings_controller extends core
|
|
@ -2,25 +2,25 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\controllers;
|
namespace mirzaev\tordv\calculator\controllers;
|
||||||
|
|
||||||
use mirzaev\calculator\controllers\core;
|
use mirzaev\tordv\calculator\controllers\core;
|
||||||
use mirzaev\calculator\models\accounts_model as accounts;
|
use mirzaev\tordv\calculator\models\accounts_model as accounts;
|
||||||
use mirzaev\calculator\models\supplies_model as supplies;
|
use mirzaev\tordv\calculator\models\supplies_model as supplies;
|
||||||
|
|
||||||
use mirzaev\calculator\models\filters\import_aluminum_filter;
|
use mirzaev\tordv\calculator\models\filters\import_aluminum_filter;
|
||||||
use mirzaev\calculator\models\filters\import_brass_filter;
|
use mirzaev\tordv\calculator\models\filters\import_brass_filter;
|
||||||
use mirzaev\calculator\models\filters\import_copper_filter;
|
use mirzaev\tordv\calculator\models\filters\import_copper_filter;
|
||||||
use mirzaev\calculator\models\filters\import_stainless_steel_filter;
|
use mirzaev\tordv\calculator\models\filters\import_stainless_steel_filter;
|
||||||
use mirzaev\calculator\models\filters\import_steel_filter;
|
use mirzaev\tordv\calculator\models\filters\import_steel_filter;
|
||||||
use mirzaev\calculator\models\filters\import_galvanized_steel_filter;
|
use mirzaev\tordv\calculator\models\filters\import_galvanized_steel_filter;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Контроллер поставок
|
* Контроллер поставок
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\controllers
|
* @package mirzaev\tordv\calculator\controllers
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class supplies_controller extends core
|
final class supplies_controller extends core
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models;
|
namespace mirzaev\tordv\calculator\models;
|
||||||
|
|
||||||
use pdo;
|
use pdo;
|
||||||
use exception;
|
use exception;
|
||||||
|
@ -10,7 +10,7 @@ use exception;
|
||||||
/**
|
/**
|
||||||
* Модель регистрации, аутентификации и авторизации
|
* Модель регистрации, аутентификации и авторизации
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models
|
* @package mirzaev\tordv\calculator\models
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class accounts_model extends core
|
final class accounts_model extends core
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models;
|
namespace mirzaev\tordv\calculator\models;
|
||||||
|
|
||||||
use exception;
|
use exception;
|
||||||
use pdo;
|
use pdo;
|
||||||
|
@ -10,7 +10,7 @@ use pdo;
|
||||||
/**
|
/**
|
||||||
* Модель баллонов
|
* Модель баллонов
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models
|
* @package mirzaev\tordv\calculator\models
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*
|
*
|
||||||
* @todo
|
* @todo
|
|
@ -2,18 +2,18 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models;
|
namespace mirzaev\tordv\calculator\models;
|
||||||
|
|
||||||
use mirzaev\calculator\models\settings_model as settings;
|
use mirzaev\tordv\calculator\models\settings_model as settings;
|
||||||
use mirzaev\calculator\models\metals_model as metals;
|
use mirzaev\tordv\calculator\models\metals_model as metals;
|
||||||
use mirzaev\calculator\models\baloons_model as baloons;
|
use mirzaev\tordv\calculator\models\baloons_model as baloons;
|
||||||
|
|
||||||
use exception;
|
use exception;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Модель калькуляторов
|
* Модель калькуляторов
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models
|
* @package mirzaev\tordv\calculator\models
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class calculators_model extends core
|
final class calculators_model extends core
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models;
|
namespace mirzaev\tordv\calculator\models;
|
||||||
|
|
||||||
use mirzaev\minimal\model;
|
use mirzaev\minimal\model;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ use exception;
|
||||||
/**
|
/**
|
||||||
* Ядро моделей
|
* Ядро моделей
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models
|
* @package mirzaev\tordv\calculator\models
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
class core extends model
|
class core extends model
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models\filters;
|
namespace mirzaev\tordv\calculator\models\filters;
|
||||||
|
|
||||||
use mirzaev\calculator\models\filters\import_filter_noname_1;
|
use mirzaev\tordv\calculator\models\filters\import_filter_noname_1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Фильтр импорта цен на алюминий от неизвестного поставщика под номером 1
|
* Фильтр импорта цен на алюминий от неизвестного поставщика под номером 1
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models\filters
|
* @package mirzaev\tordv\calculator\models\filters
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class import_aluminum_filter extends import_filter_noname_1
|
final class import_aluminum_filter extends import_filter_noname_1
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models\filters;
|
namespace mirzaev\tordv\calculator\models\filters;
|
||||||
|
|
||||||
use mirzaev\calculator\models\filters\import_filter_noname_1;
|
use mirzaev\tordv\calculator\models\filters\import_filter_noname_1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Фильтр импорта цен на латунь от неизвестного поставщика под номером 1
|
* Фильтр импорта цен на латунь от неизвестного поставщика под номером 1
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models\filters
|
* @package mirzaev\tordv\calculator\models\filters
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class import_brass_filter extends import_filter_noname_1
|
final class import_brass_filter extends import_filter_noname_1
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models\filters;
|
namespace mirzaev\tordv\calculator\models\filters;
|
||||||
|
|
||||||
use mirzaev\calculator\models\filters\import_filter_noname_1;
|
use mirzaev\tordv\calculator\models\filters\import_filter_noname_1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Фильтр импорта цен на медь от неизвестного поставщика под номером 1
|
* Фильтр импорта цен на медь от неизвестного поставщика под номером 1
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models\filters
|
* @package mirzaev\tordv\calculator\models\filters
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class import_copper_filter extends import_filter_noname_1
|
final class import_copper_filter extends import_filter_noname_1
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models\filters;
|
namespace mirzaev\tordv\calculator\models\filters;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Reader\IReadFilter as filter;
|
use PhpOffice\PhpSpreadsheet\Reader\IReadFilter as filter;
|
||||||
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
||||||
|
@ -10,7 +10,7 @@ use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
||||||
/**
|
/**
|
||||||
* Интерфейс фильтра импорта
|
* Интерфейс фильтра импорта
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models\filters
|
* @package mirzaev\tordv\calculator\models\filters
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
interface import_filter extends filter
|
interface import_filter extends filter
|
|
@ -2,17 +2,17 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models\filters;
|
namespace mirzaev\tordv\calculator\models\filters;
|
||||||
|
|
||||||
use mirzaev\calculator\models\filters\import_filter as filter;
|
use mirzaev\tordv\calculator\models\filters\import_filter as filter;
|
||||||
use mirzaev\calculator\models\metals_model as metals;
|
use mirzaev\tordv\calculator\models\metals_model as metals;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Фильтр импорта для документов от "МЕТАЛЛСЕРВИС"
|
* Фильтр импорта для документов от "МЕТАЛЛСЕРВИС"
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models\filters
|
* @package mirzaev\tordv\calculator\models\filters
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
class import_filter_mc implements filter
|
class import_filter_mc implements filter
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models\filters;
|
namespace mirzaev\tordv\calculator\models\filters;
|
||||||
|
|
||||||
use mirzaev\calculator\models\filters\import_filter as filter;
|
use mirzaev\tordv\calculator\models\filters\import_filter as filter;
|
||||||
use mirzaev\calculator\models\metals_model as metals;
|
use mirzaev\tordv\calculator\models\metals_model as metals;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
|
||||||
use PhpOffice\PhpSpreadsheet\Cell\Coordinate;
|
use PhpOffice\PhpSpreadsheet\Cell\Coordinate;
|
||||||
|
@ -13,7 +13,7 @@ use PhpOffice\PhpSpreadsheet\Cell\Coordinate;
|
||||||
/**
|
/**
|
||||||
* Фильтр импорта для документов от неизвестного поставщика под номером 1
|
* Фильтр импорта для документов от неизвестного поставщика под номером 1
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models\filters
|
* @package mirzaev\tordv\calculator\models\filters
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
class import_filter_noname_1 implements filter
|
class import_filter_noname_1 implements filter
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models\filters;
|
namespace mirzaev\tordv\calculator\models\filters;
|
||||||
|
|
||||||
use mirzaev\calculator\models\filters\import_filter_noname_1;
|
use mirzaev\tordv\calculator\models\filters\import_filter_noname_1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Фильтр импорта цен на оцинкованную сталь от "МЕТАЛЛСЕРВИС"
|
* Фильтр импорта цен на оцинкованную сталь от "МЕТАЛЛСЕРВИС"
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models\filters
|
* @package mirzaev\tordv\calculator\models\filters
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*
|
*
|
||||||
* @todo 1. Доделать 982 до 992 строки
|
* @todo 1. Доделать 982 до 992 строки
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models\filters;
|
namespace mirzaev\tordv\calculator\models\filters;
|
||||||
|
|
||||||
use mirzaev\calculator\models\filters\import_filter_noname_1;
|
use mirzaev\tordv\calculator\models\filters\import_filter_noname_1;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Фильтр импорта цен на нержавеющую сталь от неизвестного поставщика под номером 1
|
* Фильтр импорта цен на нержавеющую сталь от неизвестного поставщика под номером 1
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models\filters
|
* @package mirzaev\tordv\calculator\models\filters
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*
|
*
|
||||||
* @todo 1. Доделать 982 до 992 строки
|
* @todo 1. Доделать 982 до 992 строки
|
|
@ -2,14 +2,14 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models\filters;
|
namespace mirzaev\tordv\calculator\models\filters;
|
||||||
|
|
||||||
use mirzaev\calculator\models\filters\import_filter_mc;
|
use mirzaev\tordv\calculator\models\filters\import_filter_mc;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Фильтр импорта цен на чёрную сталь от "МЕТАЛЛСЕРВИС"
|
* Фильтр импорта цен на чёрную сталь от "МЕТАЛЛСЕРВИС"
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models\filters
|
* @package mirzaev\tordv\calculator\models\filters
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class import_steel_filter extends import_filter_mc
|
final class import_steel_filter extends import_filter_mc
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models;
|
namespace mirzaev\tordv\calculator\models;
|
||||||
|
|
||||||
use mirzaev\calculator\models\settings_model as settings;
|
use mirzaev\tordv\calculator\models\settings_model as settings;
|
||||||
use mirzaev\calculator\models\accounts_model as accounts;
|
use mirzaev\tordv\calculator\models\accounts_model as accounts;
|
||||||
|
|
||||||
use pdo;
|
use pdo;
|
||||||
use exception;
|
use exception;
|
||||||
|
@ -13,7 +13,7 @@ use exception;
|
||||||
/**
|
/**
|
||||||
* Модель металла
|
* Модель металла
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models
|
* @package mirzaev\tordv\calculator\models
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class metals_model extends core
|
final class metals_model extends core
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models;
|
namespace mirzaev\tordv\calculator\models;
|
||||||
|
|
||||||
use pdo;
|
use pdo;
|
||||||
use exception;
|
use exception;
|
||||||
|
@ -10,7 +10,7 @@ use exception;
|
||||||
/**
|
/**
|
||||||
* Модель настроек
|
* Модель настроек
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models
|
* @package mirzaev\tordv\calculator\models
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class settings_model extends core
|
final class settings_model extends core
|
|
@ -2,10 +2,10 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\models;
|
namespace mirzaev\tordv\calculator\models;
|
||||||
|
|
||||||
use mirzaev\calculator\models\accounts_model as accounts;
|
use mirzaev\tordv\calculator\models\accounts_model as accounts;
|
||||||
use mirzaev\calculator\models\filters\import_filter as filter;
|
use mirzaev\tordv\calculator\models\filters\import_filter as filter;
|
||||||
|
|
||||||
use PhpOffice\PhpSpreadsheet\Reader\Xls as reader;
|
use PhpOffice\PhpSpreadsheet\Reader\Xls as reader;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ use exception;
|
||||||
/**
|
/**
|
||||||
* Модель поставки
|
* Модель поставки
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\models
|
* @package mirzaev\tordv\calculator\models
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class supplies_model extends core
|
final class supplies_model extends core
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 17 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator;
|
namespace mirzaev\tordv\calculator;
|
||||||
|
|
||||||
use mirzaev\minimal\core;
|
use mirzaev\minimal\core;
|
||||||
use mirzaev\minimal\router;
|
use mirzaev\minimal\router;
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
declare(strict_types=1);
|
declare(strict_types=1);
|
||||||
|
|
||||||
namespace mirzaev\calculator\views;
|
namespace mirzaev\tordv\calculator\views;
|
||||||
|
|
||||||
use mirzaev\minimal\controller;
|
use mirzaev\minimal\controller;
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ use Twig\Environment as view;
|
||||||
/**
|
/**
|
||||||
* Менеджер представлений
|
* Менеджер представлений
|
||||||
*
|
*
|
||||||
* @package mirzaev\calculator\controllers
|
* @package mirzaev\tordv\calculator\controllers
|
||||||
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
* @author Arsen Mirzaev Tatyano-Muradovich <arsen@mirzaev.sexy>
|
||||||
*/
|
*/
|
||||||
final class manager extends controller
|
final class manager extends controller
|