Digest generator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Vítězslav Dvořák 5da84e94d2 All FlexiBee/PeeHP renamed to AbraFlexi II 2 years ago
bin Release v1.17 2 years ago
debian All FlexiBee/PeeHP renamed to AbraFlexi II 2 years ago
doc
i18n
nbproject
sass
src All FlexiBee/PeeHP renamed to AbraFlexi 2 years ago
stylesheets
tests Release v1.17 2 years ago
.gitignore All FlexiBee/PeeHP renamed to AbraFlexi 2 years ago
Dockerfile
Makefile All FlexiBee/PeeHP renamed to AbraFlexi II 2 years ago
README.md All FlexiBee/PeeHP renamed to AbraFlexi II 2 years ago
Vagrantfile
abraflexi-alltimedigest.1 All FlexiBee/PeeHP renamed to AbraFlexi II 2 years ago
abraflexi-daydigest.1 All FlexiBee/PeeHP renamed to AbraFlexi II 2 years ago
abraflexi-monthdigest.1 All FlexiBee/PeeHP renamed to AbraFlexi II 2 years ago
abraflexi-weekdigest.1 All FlexiBee/PeeHP renamed to AbraFlexi II 2 years ago
abraflexi-yeardigest.1 All FlexiBee/PeeHP renamed to AbraFlexi II 2 years ago
bootstrap.sh Release v1.17 2 years ago
composer.json All FlexiBee/PeeHP renamed to AbraFlexi II 2 years ago
composer.lock All FlexiBee/PeeHP renamed to AbraFlexi 2 years ago
config.rb
monthly-average-income-chart.png
package-logo.png
package-logo.svg
spojenet.gif
weekdigest.png

README.md

Package Logo

AbraFlexi Digest generator

Features:

  • Extensible - you can write your own Digest modules
  • Static page export - Digest is saved to file
  • Send by eMail - Digest is send by email
  • Skinable - You can choose or add custom css
  • Localised - Czech and English gettext localization

There are four scripts:

File Description
abraflexi-daydigest.php Generate AbraFlexi digest for one day
abraflexi-weekdigest.php Generate AbraFlexi digest for one week
abraflexi-monthdigest.php Generate AbraFlexi digest for one month
abraflexi-yeardigest.php Generate AbraFlexi digest for one year
abraflexi-alltimedigest.php Generate AbraFlexi digest for all time

Example

Debian/Ubuntu

Packages are availble. Please use repo :

sudo apt install lsb-release wget
echo "deb http://repo.vitexsoftware.cz $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/vitexsoftware.list
sudo wget -O /etc/apt/trusted.gpg.d/vitexsoftware.gpg http://repo.vitexsoftware.cz/keyring.gpg
sudo apt update
sudo apt install abraflexi-digest

After package installation you can use this new commands:

  • abraflexi-daydigest - Generate AbraFlexi digest for one day
  • abraflexi-monthdigest - Generate AbraFlexi digest for one week
  • abraflexi-weekdigest - Generate AbraFlexi digest for one month
  • abraflexi-yeardigest - Generate AbraFlexi digest for one year
  • abraflexi-alltimedigest - Generate AbraFlexi digest for all time

Konfigurace

    "EASE_LOGGER": "syslog|mail|console",         - how to log progress and results
    "EASE_MAILTO": "info@yourdomain.net",         - send digest mail
    "DIGEST_FROM": "noreply@vitexsoftware.cz",    - digest mail sender address 
    "THEME":  "happy",                            - additional css
    "SAVETO": "/var/tmp/"                         - save html digest to 

Web interface

We Also provide form to test Digest modules. Availble as index.php

Example

Modules

Digest is generated using modules located in src/modules

This Module add Company logo to Digest:

class Logo extends \AbraFlexi\Digest\DigestModule implements \AbraFlexi\Digest\DigestModuleInterface
{

    public function dig()
    {
        $configurator = new \AbraFlexi\Nastaveni();
        $logoInfo     = $configurator->getFlexiData('1/logo');
        if (is_array($logoInfo) && isset($logoInfo[0])) {
            $this->addItem(new \Ease\Html\ImgTag('data:'.$logoInfo[0]['contentType'].';'.$logoInfo[0]['content@encoding'].','.$logoInfo[0]['content'],
                $logoInfo[0]['nazSoub']));
        }
    }

    public function heading()
    {
        return _('Company Logo')';
    }
}

Universal Modules

Applied in every case

  • Debtors.php
  • IncomingInvoices.php
  • IncomingPayments.php
  • NewCustomers.php
  • OutcomingInvoices.php
  • OutcomingPayments.php
  • Reminds.php
  • WaitingIncome.php
  • WaitingPayments.php
  • WithoutEmail.php
  • WithoutTel.php

Daily Modules

none yet

Weekly Modules

none yet

Monthly Modules

Applied once per month

  • DailyIncomeChart.php

Average Income

Yearly modules

none yet

Alltime modules

none yet

Dependencies

Tento nástroj ke svojí funkci využívá následující knihovny:

See also

Poděkování

Tento software by nevznikl pez podpory:

Spoje.Net