This commit is contained in:
2026-06-11 16:41:28 +03:30
parent 76563be5cd
commit f329419c3a
4 changed files with 170 additions and 4 deletions
@@ -21,6 +21,7 @@ use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Mail;
use Morilog\Jalali\Jalalian;
use App\Services\ConfigService;
use App\Services\ProductDisplayPriceService;
class ReportController extends Controller
@@ -146,6 +147,7 @@ class ReportController extends Controller
protected function appendUpPrices(array $payload): array
{
$payload['up'] = $this->buildUpDownPrices();
app(ProductDisplayPriceService::class)->cacheLivePricePayload($payload);
return $payload;
}