Skip to content

Commit 4170fc4

Browse files
author
Dorazil
committed
WIP
Add invoice management, custom types, and form changes Introduced entities, repositories, templates, and services for managing invoices and invoice sequences. Added support for `BigDecimal` and `CarbonTimestampImmutableMsType` custom types. Updated dependencies and form handling across modules to align with new structure.
1 parent c412e91 commit 4170fc4

File tree

98 files changed

+3254
-102
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+3254
-102
lines changed

app/AccountancyModule/AccountancyHelpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
use Cake\Chronos\ChronosDate;
88
use DateTimeInterface;
9+
use Enum\CampState;
10+
use Enum\EventState;
911
use InvalidArgumentException;
1012
use Model\Common\ShouldNotHappen;
11-
use Model\Event\CampState;
12-
use Model\Event\EventState;
1313
use Model\Payment\Payment\State;
1414
use Money\Money;
1515
use Nette\Utils\Html;

app/AccountancyModule/CampModule/Components/ExportDialog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
use App\AccountancyModule\Components\Dialog;
88
use App\AccountancyModule\ExcelResponse;
9-
use App\Forms\BaseForm;
109
use Cake\Chronos\ChronosDate;
10+
use Component\Forms\BaseForm;
1111
use Model\Common\Services\QueryBus;
1212
use Model\DTO\Camp\CampListItem;
1313
use Model\Event\ReadModel\Queries\Excel\ExportCamps;

app/AccountancyModule/CampModule/Components/MissingAutocomputedCategoryControl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
namespace App\AccountancyModule\EventModule\Components;
66

77
use App\AccountancyModule\Components\BaseControl;
8+
use Enum\CampState;
89
use Model\Auth\IAuthorizator;
910
use Model\Auth\Resources\Camp;
1011
use Model\Common\Services\CommandBus;
1112
use Model\Common\Services\QueryBus;
12-
use Model\Event\CampState;
1313
use Model\Event\Commands\Camp\ActivateAutocomputedCashbook;
1414
use Model\Event\ReadModel\Queries\CampQuery;
1515
use Model\Event\SkautisCampId;

app/AccountancyModule/CampModule/presenters/CashbookPresenter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
use App\AccountancyModule\EventModule\Components\MissingAutocomputedCategoryControl;
99
use App\AccountancyModule\EventModule\Factories\IMissingAutocomputedCategoryControlFactory;
1010
use App\AccountancyModule\Factories\ICashbookControlFactory;
11-
use App\Forms\BaseForm;
11+
use Component\Forms\BaseForm;
1212
use Model\Auth\Resources\Camp;
1313
use Model\Cashbook\Cashbook\Amount;
1414
use Model\Cashbook\Cashbook\CashbookId;

app/AccountancyModule/Components/Cashbook/ChitListControl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
use App\AccountancyModule\Factories\Cashbook\IInvertChitDialogFactory;
1010
use App\AccountancyModule\Factories\Cashbook\IMoveChitsDialogFactory;
1111
use App\AccountancyModule\Factories\Cashbook\IPrefixControlFactory;
12-
use App\Forms\BaseForm;
12+
use Component\Forms\BaseForm;
1313
use Model\Cashbook\Cashbook\CashbookId;
1414
use Model\Cashbook\Cashbook\PaymentMethod;
1515
use Model\Cashbook\CashbookNotFound;

app/AccountancyModule/Components/Cashbook/ChitScanControl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace App\AccountancyModule\Components\Cashbook;
66

77
use App\AccountancyModule\Components\BaseControl;
8-
use App\Forms\BaseForm;
8+
use Component\Forms\BaseForm;
99
use Model\Cashbook\Cashbook\CashbookId;
1010
use Model\Cashbook\Commands\Cashbook\AddChitScan;
1111
use Model\Cashbook\Commands\Cashbook\RemoveChitScan;

app/AccountancyModule/Components/Cashbook/InvertChitDialog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace App\AccountancyModule\Components\Cashbook;
66

77
use App\AccountancyModule\Components\Dialog;
8-
use App\Forms\BaseForm;
8+
use Component\Forms\BaseForm;
99
use Model\Cashbook\Cashbook\CashbookId;
1010
use Model\Cashbook\Cashbook\CashbookType;
1111
use Model\Cashbook\Commands\Cashbook\AddInverseChit;

app/AccountancyModule/Components/Cashbook/MoveChitsDialog.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace App\AccountancyModule\Components\Cashbook;
66

77
use App\AccountancyModule\Components\Dialog;
8-
use App\Forms\BaseForm;
8+
use Component\Forms\BaseForm;
99
use Model\Auth\IAuthorizator;
1010
use Model\Auth\Resources\Camp as CampResource;
1111
use Model\Auth\Resources\Event as EventResource;

app/AccountancyModule/Components/Cashbook/NoteForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
namespace App\AccountancyModule\Components;
66

7-
use App\Forms\BaseForm;
7+
use Component\Forms\BaseForm;
88
use Model\Cashbook\Cashbook\CashbookId;
99
use Model\Cashbook\Commands\Cashbook\UpdateNote;
1010
use Model\Cashbook\ReadModel\Queries\CashbookQuery;

app/AccountancyModule/Components/Cashbook/PrefixControl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
namespace App\AccountancyModule\Components\Cashbook;
66

77
use App\AccountancyModule\Components\Dialog;
8-
use App\Forms\BaseForm;
8+
use Component\Forms\BaseForm;
99
use Model\Cashbook\Cashbook\CashbookId;
1010
use Model\Cashbook\Cashbook\PaymentMethod;
1111
use Model\Cashbook\Commands\Cashbook\UpdateChitNumberPrefix;

0 commit comments

Comments
 (0)