Test fixes
Some checks failed
Image optimization / general_image_workflow (push) Has been cancelled
CI / general_module_workflow_php (push) Has been cancelled
CI / general_module_workflow_js (push) Has been cancelled

This commit is contained in:
Dennis Eichhorn 2024-05-16 02:14:54 +00:00
parent dabe012d6a
commit ad74518cc7
18 changed files with 206 additions and 16 deletions

View File

@ -297,7 +297,7 @@
"default": null
},
"accounting_posting_payment": {
"description": "should this handle the dues?",
"comment": "should this handle the dues?",
"name": "accounting_posting_payment",
"type": "INT",
"null": true,
@ -411,7 +411,7 @@
},
"accounting_posting_eq": {
"name": "accounting_posting_eq",
"description": "Marks posts as equalized credit/debit",
"comment": "Marks posts as equalized credit/debit",
"fields": {
"accounting_posting_eq_id": {
"name": "accounting_posting_eq_id",
@ -447,19 +447,19 @@
"autoincrement": true
},
"accounting_posting_ele_status": {
"description": "debit/credit",
"comment": "debit/credit",
"name": "accounting_posting_ele_status",
"type": "TINYINT",
"null": false
},
"accounting_posting_ele_text": {
"description": "debit/credit",
"comment": "debit/credit",
"name": "accounting_posting_ele_text",
"type": "VARCHAR(255)",
"null": false
},
"accounting_posting_ele_type": {
"description": "debit/credit",
"comment": "debit/credit",
"name": "accounting_posting_ele_type",
"type": "TINYINT",
"null": false
@ -515,7 +515,7 @@
"null": false
},
"accounting_posting_ele_opposite": {
"description": "Often you have a 1:1 match between credit/debit posting, this speeds it up. Alternatively you have to find the opposite postings through the posting",
"comment": "Often you have a 1:1 match between credit/debit posting, this speeds it up. Alternatively you have to find the opposite postings through the posting",
"name": "accounting_posting_ele_opposite",
"type": "INT",
"null": false,

View File

@ -1,5 +0,0 @@
# Structure
## ER
![ER](Modules/Accounting/Docs/Dev/img/er.png)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 23 KiB

7
Docs/Help/de/SUMMARY.md Normal file
View File

@ -0,0 +1,7 @@
# Endnutzer
* [Konten]({%}&page=Help/account)
* [Kostenstellen]({%}&page=Help/cost_center)
* [Kostenträger]({%}&page=Help/cost_object)
* [Buchung]({%}&page=Help/posting)
* [Buchungsstapel]({%}&page=Help/batch_posting)

67
Docs/Help/de/account.md Normal file
View File

@ -0,0 +1,67 @@
# Konto
Ein Konto ist entweder ein persönliches Konto, z. B. ein Kunden-/Lieferantenkonto, oder ein unpersönliches Konto, z. B. ein Konto für die Gewinn- und Verlustrechnung/Bilanz.
## Personenkonto
### Offene Buchungen
Alle Personenkonten zeigen standardmäßig offene Posten (Buchungen, die nicht mit anderen Buchungen verrechnet sind).
### Sammelkonto
Dies ist das Konto, das für die Zusammenfassung des Saldos mehrerer Personenkonten verwendet wird. In der Regel verwenden Buchhaltungsstrukturen Sammelkonten für inländische Kunden, innergemeinschaftliche (EU) und Drittländer.
## Sachkonto
### Steuern
### Kostenstelle
#### Erfordernis
Sie können das entweder definieren:
1. keine Kostenstelle erlaubt ist
2. Eine Kostenstelle ist erlaubt, aber nicht erforderlich
3. Eine Kostenstelle ist erforderlich
#### Standard
Sie können eine Standard-Kostenstelle definieren, die beim Erstellen einer Buchung verwendet wird. Diese Kostenstelle kann vom Benutzer während der Buchung manuell geändert werden.
#### Erforderlich
Sie können eine obligatorische Kostenstelle definieren. Damit wird eine Standard-Kostenstelle definiert, die nicht geändert werden kann.
### Kostenträger
#### Erfordernis
Sie können festlegen, dass entweder:
1. kein Kostenträger erlaubt ist
2. Ein Kostenträger ist erlaubt, aber nicht erforderlich
3. Ein Kostenträger ist erforderlich
#### Standard
Sie können einen Standard-Kostenträger definieren, der bei der Erstellung einer Buchung verwendet wird. Dieser Kostenträger kann vom Benutzer während der Buchung manuell geändert werden.
#### Erforderlich
Sie können einen obligatorischen Kostenträger definieren. Damit wird ein Standard-Kostenträger definiert, der nicht geändert werden kann.
### Offene Buchungen
Dies bewirkt, dass das Konto offene Positionen anzeigt (Buchungen, die nicht mit anderen Buchungen saldiert sind).
> Dies wirkt sich nur auf Buchungen aus, nachdem diese Einstellung geändert wurde.
### Manuelle Buchungen
Standardmäßig sind auf unpersönlichen Konten keine manuellen Buchungen erlaubt. Wenn Sie sie aktivieren, können Buchhalter manuell Buchungen auf diesem Konto vornehmen.
### Berichtsindikatoren
Einige Steuerformulare und Erhebungsbögen erfordern Buchhaltungsstatistiken. Wenn Sie das Berichtskennzeichen des entsprechenden Formulars definieren, werden die Informationen aus diesem Konto automatisch an der entsprechenden Stelle eingefügt.

View File

@ -0,0 +1,15 @@
# Einleitung
Das Modul **Accounting** befindet sich derzeit in der Entwicklung. Wir werden Sie informieren, sobald es verfügbar ist.
# Empfehlung
Andere Module, die gut mit diesem Modul zusammenarbeiten, sind:
* [Billing]({/}?id=Billing)
* [Finance]({/}?id=Finance)
* [Asset Management]({/}?id=AssetManagement)
* [Cash Management]({/}?id=CashManagement)
* [Loan Management]({/}?id=LoanManagement)
* [Income Statement]({/}?id=IncomeStatement)
* [Balance]({/}?id=Balance)

7
Docs/Help/en/SUMMARY.md Normal file
View File

@ -0,0 +1,7 @@
# User Content
* [Accounts]({%}&page=Help/account)
* [Cost Center]({%}&page=Help/cost_center)
* [Cost Object]({%}&page=Help/cost_object)
* [Posting]({%}&page=Help/posting)
* [Batch Posting]({%}&page=Help/batch_posting)

67
Docs/Help/en/account.md Normal file
View File

@ -0,0 +1,67 @@
# Account
An account is either a personal account such as a client/supplier account or a impersonal account such as a income statement/balance account.
## Personal Account
### Open Postings
All personal accounts show open positions (postings that are not squared with other postings) by default.
### Summary Account
This is the account that is used to summarize the balance of multiple personal accounts. Usually, accounting structures use summary accounts for domestic customers, intra-community (EU) and third countries.
## Impersonal Account
### Taxes
### Cost Center
#### Requirement
You can define that either:
1. No cost center is allowed
2. A cost center is allowed but not required
3. A cost center is required
#### Default
You can define a default cost center to be used when creating a posting. This cost center can be manually modified by the user during the posting.
#### Mandatory
You can define a mandatory cost center. This defines a default cost center that cannot be changed.
### Cost Object
#### Requirement
You can define that either:
1. No cost object is allowed
2. A cost object is allowed but not required
3. A cost object is required
#### Default
You can define a default cost object to be used when creating a posting. This cost object can be manually modified by the user during the posting.
#### Mandatory
You can define a mandatory cost object. This defines a default cost object that cannot be changed.
### Open Postings
This makes the account show open positions (postings that are not squared with other postings).
> This only effects postings after this setting is changed.
### Manual Posting
By default no manual postings are allowed on impersonal accounts. By enabling them accountants can manually perform postings on this account.
### Report Indicators
Some tax forms and survey forms require accounting statistics. By defining the report indicator of the corresponding form they will automatically include the information from this account at the respective position.

View File

@ -0,0 +1,15 @@
# Introduction
The **Accounting** module is currently under development. We will inform you once it is made available.
# Recommendation
Other modules that work great with this one together are:
* [Billing]({/}?id=Billing)
* [Finance]({/}?id=Finance)
* [Asset Management]({/}?id=AssetManagement)
* [Cash Management]({/}?id=CashManagement)
* [Loan Management]({/}?id=LoanManagement)
* [Income Statement]({/}?id=IncomeStatement)
* [Balance]({/}?id=Balance)

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

17
Docs/img.json Normal file
View File

@ -0,0 +1,17 @@
[
[
"/accounting/coa/view?id=1",
"//*[@id=\"content\"]/div[2]/div/section",
"/Accounting/Docs/Help/img/account_general.png"
],
[
"/accounting/costcenter/view?id=1",
"//*[@id=\"content\"]/div[2]/div/section",
"/Accounting/Docs/Help/img/cost_center_general.png"
],
[
"/accounting/costobject/view?id=1",
"//*[@id=\"content\"]/div[2]/div/section",
"/Accounting/Docs/Help/img/cost_object_general.png"
]
]

View File

@ -50,7 +50,7 @@ return ['Accounting' => [
'Total' => 'Gesamt',
'Type' => 'Typ',
'City' => 'Stadt',
'Postal' => 'Postleitzahl',
'Postal' => 'Postleitzahl',
'Address' => 'Adresse',
'Country' => 'Land',
'Info' => 'Info',

View File

@ -50,7 +50,7 @@ return ['Accounting' => [
'Total' => 'Total',
'Type' => 'Type',
'City' => 'City',
'Postal' => 'Postal',
'Postal' => 'Postal',
'Address' => 'Address',
'Country' => 'Country',
'Info' => 'Info',

View File

@ -15,7 +15,7 @@ declare(strict_types=1);
use phpOMS\Uri\UriFactory;
/**
* @var \phpOMS\Views\View $this
* @var \phpOMS\Views\View $this
* @var \Modules\Accounting\Models\CostCenter[] $costcenter
*/
$costcenter = $this->data['costcenter'];

View File

@ -15,7 +15,7 @@ declare(strict_types=1);
use phpOMS\Uri\UriFactory;
/**
* @var \phpOMS\Views\View $this
* @var \phpOMS\Views\View $this
* @var \Modules\Accounting\Models\CostObject[] $costobject
*/
$costobject = $this->data['costobject'];

View File

@ -12,7 +12,7 @@
},
"creator": {
"name": "Jingga",
"website": "jingga.app"
"website": "https://jingga.app"
},
"directory": "Accounting",
"dependencies": {