Updates
This commit is contained in:
@@ -11,6 +11,20 @@ use Modules\Platform\app\Models\PlatformPrice;
|
||||
|
||||
class PlatformPriceController extends Controller
|
||||
{
|
||||
|
||||
/**
|
||||
* Display the customer-facing platform pricing cards.
|
||||
*/
|
||||
public function publicIndex(): View
|
||||
{
|
||||
return view('platform::prices.public', [
|
||||
'prices' => PlatformPrice::query()
|
||||
->where('is_active', true)
|
||||
->ordered()
|
||||
->get(),
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
* Display platform prices in a card grid with administration actions.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user