Automail

Verze:

31. 03. 2023

Zodpovědná osoba:

Dominik Šlechta

Copying

take from dogtrace (better config).

open dogtrace or fencee and search commits by fencee: automail, dogtrace: 8295746

  • copy utils/automail
  • copy forms/Administration/AutomailFactory.php
  • copy model/AutomailDatabase.php
  • copy occurrences in config/config.neon
  • copy functions with automail in presenter/Admin/ApiPresenter.php -> check functions inside if they are connected and functional
  • copy to presenters/Admin/templates/Eshop/partials/tree.latte automail part
  • copy to app/presenters/Front/ApiPresenter.php automail part
  • checking against commits to detect a deficiency
  • Copying translations
  • set in Utils/Automail/Configs.php the correct ids settings -> add in db

Try adding automail. Switch the LOCAL status of some order to the automail target and try to run the url http://www.dogtrace.test/api/send-automails