App\Http\Controllers\PaymentTermController::edit PHP Méthode

edit() public méthode

public edit ( $publicId ) : Illuminate\Contracts\View\View
$publicId
Résultat Illuminate\Contracts\View\View
    public function edit($publicId)
    {
        $data = ['paymentTerm' => PaymentTerm::scope($publicId)->firstOrFail(), 'method' => 'PUT', 'url' => 'payment_terms/' . $publicId, 'title' => trans('texts.edit_payment_term')];
        return View::make('accounts.payment_term', $data);
    }