<form action="{{ route("bank_account.withdraw_money.store") }}" id="edit_form" method="POST"
     enctype="multipart/form-data">

     @csrf
     <div class="errors"></div>

     <input type="text" name="from" id="" value="{{ $bank_account->id }}" hidden>
     <div class="form-group">
          <label for="">Amount</label>
          <input type="text" name="amount" value="{{ old("amount") }}" class="form-control"
               placeholder="Enter Withdraw Amount">
          @if($errors->has('amount'))
          <div class="alert alert-danger">{{ $errors->first('amount') }}</div>
          @endif
     </div>

     <div class="form-group">
       <label for="">Note</label>
       <textarea name="note" id="" cols="30" rows="4" class="form-control"></textarea>
       @if($errors->has('note'))
         <div class="alert alert-danger">{{ $errors->first('note') }}</div>
       @endif
     </div>

     


     <input type="submit" class="btn btn-info" value="Withdraw Balance" onclick="return confirm('Are You Sure?')">
</form>
