Valentin Lab 936c9473a7 new: send stock alert email when offer stock crosses threshold
When a purchase causes an offer's ``stock_current`` to drop to or below
its ``minimum_ondemand`` threshold, an email is sent to
``commande@jardinenvie.com`` using an editable mail template (Spatie
``MailTemplate``).

The check runs in ``OfferStocks::decreaseStock()`` after updating stock.
Only threshold-crossing events trigger the alert (not every low-stock
sale).  Failures are caught and logged to avoid disrupting the order
flow.
2026-02-13 07:13:56 +01:00
2020-04-15 10:05:01 +02:00
2024-02-05 22:04:17 +01:00
2023-07-16 14:45:42 +02:00
2021-05-21 00:21:05 +02:00
2023-07-16 14:45:42 +02:00
2020-03-25 00:08:27 +01:00
2026-02-13 06:46:05 +01:00
2020-03-25 00:08:27 +01:00
2025-01-03 16:05:05 +01:00
2025-12-13 20:10:19 +01:00
2020-03-22 21:30:03 +01:00
2023-07-16 14:45:42 +02:00
2020-03-22 21:30:03 +01:00

A propos de OpenSem

OpenSem est une solution de commerce électronique et un ERP développé pour les besoins exprimés.

Développée par Ludovic Candellier en étroite relation avec Jardin'Envie.

L'application est écrite en PHP et est basée sur Laravel.

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, Laracasts can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

The Laravel framework is open-sourced software licensed under the MIT license.

Description
No description provided
Readme 7.8 MiB
Languages
PHP 53.1%
Blade 30.9%
JavaScript 6.4%
Dockerfile 4.8%
Twig 2.6%
Other 2.2%