10.April 2026
This commit is contained in:
parent
a00c42e770
commit
f58c709945
208 changed files with 19280 additions and 2914 deletions
|
|
@ -4,6 +4,7 @@ namespace App\Services\BusinessPlan;
|
|||
|
||||
use App\Models\ShoppingOrder;
|
||||
use App\Models\UserSalesVolume;
|
||||
use App\Services\Incentive\IncentiveTracker;
|
||||
use App\Services\Util;
|
||||
use App\User;
|
||||
use stdClass;
|
||||
|
|
@ -122,7 +123,7 @@ class SalesPointsVolume
|
|||
}
|
||||
}
|
||||
|
||||
public static function addSalesPointsVolumeUser(ShoppingOrder $shoppingOrder)
|
||||
public static function User(ShoppingOrder $shoppingOrder)
|
||||
{
|
||||
|
||||
/*
|
||||
|
|
@ -311,6 +312,9 @@ class SalesPointsVolume
|
|||
// Neuberechnung für aktuellen Monat
|
||||
self::reCalculateSalesPointsVolume($original_sales_volume->user_id, $month, $year);
|
||||
|
||||
// Incentive: Track storno
|
||||
IncentiveTracker::trackStorno($original_sales_volume, $cancellation_sales_volume);
|
||||
|
||||
\Log::info('Punktekorrektur für Stornorechnung durchgeführt', [
|
||||
'original_invoice_id' => $original_sales_volume->user_invoice_id,
|
||||
'cancellation_invoice_id' => $cancellation_invoice_id,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue