File size: 784 Bytes
5f32fbd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | <?php
namespace App\Http\Controllers\Admin\Finance;
use App\Http\Controllers\Controller;
use App\Models\PaymentPlans;
class TokenPackPlanController extends Controller
{
public function create()
{
return view('panel.admin.finance.plan.form', [
'method' => 'POST',
'title' => trans('Create Token Pack Plan'),
'item' => new PaymentPlans,
'subscription' => false,
]);
}
public function edit(PaymentPlans $tokenPackPlan)
{
return view('panel.admin.finance.plan.form', [
'method' => 'POST',
'title' => trans('Edit Token Pack Plan'),
'item' => $tokenPackPlan,
'subscription' => false,
]);
}
}
|