Repo rebuild
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
<?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(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user