@extends('layouts.app') @section('title', 'Edit Bank Account') @section('content') Edit Bank Account {!! Form::open(['url' => action('BankAccountController@update', [$bank_account->id]), 'method' => 'PUT', 'id' => 'update_bank_account']) !!} {!! Form::label('status', 'Bank Account Status' . ':*') !!} {!! Form::hidden('status', 0, null); !!} {!! Form::checkbox('status', 1, $bank_account->status , [ 'class' => 'input-icheck']); !!} {{ __( 'Active Bank Account' ) }} Branch Name Select Branch Name @foreach($bank_branches as $bank_branch) id == $bank_account->bank_branch_id) ? 'selected="selected"' : '' }}>{{$bank_branch->bank_name}} @endforeach {!! Form::label('account_number', 'Account Number' . ':*') !!} {!! Form::text('account_number', $bank_account->account_number, ['class' => 'form-control', 'required', 'placeholder' => 'Account Number']) !!} {!! Form::label('account_description', 'Account Description' . ':*') !!} {!! Form::text('account_description', $bank_account->account_description, ['class' => 'form-control', 'required', 'placeholder' => 'Account Description']) !!} {!! Form::label('account_search_code', 'Account Search Code' . ':*') !!} {!! Form::text('account_search_code', $bank_account->account_search_code, ['class' => 'form-control', 'required', 'placeholder' => 'Account Search Code']) !!} Update Bank Account {!! Form::close() !!} @endsection