
| Filename | |
| Version | 1.18 |
| Age in days | 707 |
| Release date | 2024 11. 28. |
| Size | 47.59 KB |
| id | 91 |
| Name | flexibee-digest |
| Package | |
| Appname | |
| Essential | |
| Vendor | |
| License | |
| Distribution | sid |
| Suite | main |
| Source | |
| Architecture | binary-i386 |
| MultiArch | |
| Maintainer | Vítězslav Dvořák |
| InstalledSize | 576 |
| Depends | debconf (>= 0.5) , debconf-2.0 , php-flexibee-bricks , composer , php-cli , php-intl , locales-all |
| PreDepends | |
| Breaks | |
| Enhances | |
| Section | web |
| Priority | optional |
| Description | digest for FlexiBee |
| LongDescription | Prepare digest with accounting state of FlexiBee. Then save to file or send byemail. Daily, weekly, monthly, yearly and all time. |
| AutoBuiltPackage | |
| Filename | pool/sid/main/f/flexibee-digest/flexibee-digest_1.18_all.deb |
| MD5sum | dd214020d781cbe6fda2c8f16bd7bed5 |
| SHA1 | d26ef368bfe5f0a6d575aa30afa955c3335b614b |
| SHA256 | 9fc32b84eab4e11c6bf60c0fa7e65473e89078025b8d5f88622ae8b5e34e9575 |
| SHA512 | 2940a13e0c48e3a24030db01836472c1cc77b7d2a92319679b854cb3b40d2450742ff3b6cb951767f08ce6b695c35feb081565c38aba857714ebfc72ce3302ab |
| Size | 48732 |
| Auto-Built-Package | |
| Homepage | https://github.com/VitexSoftware/FlexiBee-Digest |
| Provides | |
| Suggests | flexibee-server , php-flexibee-config |
| Existing | |
| fileMtime | 2024-11-28 12:35:02 |
| created | 2021-03-20 02:24:32 |
| updated | 2024-11-28 11:35:02 |

Periodical business digest for AbraFlexi accounting system. Collects data via the php-abraflexi library, runs analytics modules from vitexsoftware/digest-modules, and outputs Markdown, HTML, or PDF reports.
vitexsoftware/abraflexi-digest (this package)
src/Digest/Providers/AbraFlexiDataProvider.php — AbraFlexi → neutral schema
src/Digest/ModularDigestor.php — wires provider + modules + renderer
src/Digest/Mailer.php — sends digest by email
vitexsoftware/digest-modules
src/Modules/*.php — system-agnostic analytics modules
vitexsoftware/digest-renderer
src/ — Markdown/HTML/PDF rendering
AbraFlexiDataProvider (namespace AbraFlexi\Digest\Providers) implements DataProviderInterface from vitexsoftware/digest-modules. It translates the neutral FILTER_* / FIELD_* constants into AbraFlexi WQL queries and normalizes raw AbraFlexi records (including AbraFlexi\Relation objects for firma, mena, typDokl) into the neutral field schema.
vitexsoftware/digest-modules| File | Description | |------|-------------| | abraflexi-daydigest.php | Generate digest for one day | | abraflexi-weekdigest.php | Generate digest for one week | | abraflexi-monthdigest.php | Generate digest for one month | | abraflexi-yeardigest.php | Generate digest for one year | | abraflexi-alltimedigest.php | Generate digest for all time |
composer require vitexsoftware/abraflexi-digest
Or via Debian package:
wget -qO- https://repo.vitexsoftware.com/KEY.gpg | sudo tee /etc/apt/trusted.gpg.d/vitexsoftware.gpg
echo "deb [signed-by=/etc/apt/trusted.gpg.d/vitexsoftware.gpg] https://repo.vitexsoftware.com $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo apt update
sudo apt install abraflexi-digest
After installation:
abraflexi-daydigest — digest for one dayabraflexi-weekdigest — digest for one weekabraflexi-monthdigest — digest for one monthabraflexi-yeardigest — digest for one yearabraflexi-alltimedigest — digest for all timeCreate /etc/abraflexi/.env (or pass path as first CLI argument):
ABRAFLEXI_URL="https://your-abraflexi.example.com"
ABRAFLEXI_LOGIN="username"
ABRAFLEXI_PASSWORD="password"
ABRAFLEXI_COMPANY="your-company-db"
EASE_LOGGER="syslog|mail|console"
DIGEST_MAILTO="info@yourdomain.net"
DIGEST_FROM="noreply@vitexsoftware.cz"
THEME="happy"
DIGEST_SAVETO="/var/tmp/"
DIGEST_ITEMS_LIMIT=0
DIGEST_LOCALE="cs_CZ.UTF-8"
DIGEST_LOCALE selects the language of the digest (system locale, must be installed on the server: locale -a).
DIGEST_ITEMS_LIMIT sets the default maximum number of items listed in each section
(0 = unlimited). Only the listing is shortened — totals and charts still use all data.
<?php
use AbraFlexi\Digest\ModularDigestor;
use AbraFlexi\Digest\Providers\AbraFlexiDataProvider;
use VitexSoftware\DigestModules\Core\ModuleRunner;
use VitexSoftware\DigestModules\Modules\Debtors;
use VitexSoftware\DigestModules\Modules\OutcomingInvoices;
$provider = new AbraFlexiDataProvider();
$runner = new ModuleRunner($provider);
$runner->addModule('outcoming_invoices', new OutcomingInvoices());
$runner->addModule('debtors', new Debtors());
$period = new \DatePeriod(
new \DateTime('first day of last month'),
new \DateInterval('P1M'),
new \DateTime('first day of this month'),
);
$result = $runner->run($period);
Modules live in vitexsoftware/digest-modules. All are supported by AbraFlexiDataProvider:
OutcomingInvoices — issued invoices in the periodIncomingInvoices — received invoices in the periodIncomingPayments — bank receipts in the periodOutcomingPayments — bank outflows in the periodDebtors — all overdue unpaid receivablesUnmatchedInvoices — issued invoices not matched to a paymentUnmatchedPayments — bank movements not matched to an invoiceWaitingIncome — proforma invoices awaiting settlementWaitingPayments — invoices awaiting paymentNewCustomers — contacts created in the periodReminds — invoices with pending payment remindersBestSellers — top products/services sold in the periodWithoutEmail — contacts missing an email addressWithoutTel — contacts missing a phone numberAllTime\PurchasePriceLowerThanSales — products sold below purchase priceDigest for AbraFlexi is ready to run as a MultiFlexi application.
This software would not be created without the support of:
MIT
>