Files
WMS/Modules/Pricing/Http/Controllers/PricingController.php
T
2026-06-11 10:58:34 +01:00

24 lines
579 B
PHP

<?php
namespace Modules\Pricing\Http\Controllers;
use Illuminate\Contracts\Support\Renderable;
use Illuminate\Routing\Controller;
use Modules\Platform\app\Models\PlatformPrice;
class PricingController extends Controller
{
/**
* Display the platform pricing cards from the shared Platform price model.
*/
public function index(): Renderable
{
return view('platform::prices.public', [
'prices' => PlatformPrice::query()
->where('is_active', true)
->ordered()
->get(),
]);
}
}