Files
2026-09-21 10:14:57 +01:00

24 lines
579 B
PHP
Executable File

<?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(),
]);
}
}