文件夹来查找此代码中的弹出$error消息

folder to locate the pop up $error message in this code

提问人:Chidi Okeke 提问时间:12/20/2019 最后编辑:RojoChidi Okeke 更新时间:12/20/2019 访问量:36

问:

我需要编辑显示用户输入的金额是否低于最低限额的错误,但我找不到文件来编辑弹出的错误响应,该响应显示金额是否低于提款限额。

这是代码。

<div class="row">
  <div class="col-md-9">
    <div class="card">
      <div class="card-header">
        <h4 class="card-title">withdrawal -
          <small class="category">Cash Out Fund.</small>
        </h4>
      </div>
      <div class="card-content">
        <div class="row">
          <div class="col-md-2">
            <ul class="nav nav-pills nav-pills-icons nav-pills-primary nav-stacked" role="tablist">
              <li class="active">
                <a href="#withdraw" role="tab" data-toggle="tab">
                  <i class="material-icons">redeem</i>Withdraw
                </a>
              </li>
            </ul>
          </div>
          <div class="col-md-10">
            <div class="tab-content">
              <div class="tab-pane active" id="withdraw">
                <div class="alert alert-info">
                  <span class="text-center">Please Read before you proceed. You need to know processing fee:</span><br> @php $id=0;@endphp @foreach($gateways as $gateway) @php $id++;@endphp
                  <span>{{$id}}. <b>@if($gateway->name){{$gateway->name}}@endif @if($gateway->local_name){{$gateway->local_name}}@endif</b> we would charge you <b>{{config('app.currency_symbol')}} {{$gateway->fixed}}</b> fixed + <b>{{$gateway->percent}}%</b> to Withdraw.</span>                  @endforeach
                </div>
                <form action="{{route('userWithdraw.post')}}" method="post">
                  {{ csrf_field() }} @if(count($errors) > 0)
                  <div class="alert alert-danger alert-with-icon" data-notify="container">
                    <i class="material-icons" data-notify="icon">notifications</i>
                    <span data-notify="message">
                                    @foreach($errors->all() as $error)
                                                        <li><strong> {{$error}} </strong></li>
                                                    @endforeach

                            </span>
                  </div>
                  <br> @endif
                  <div class="row">
                    <div class="col-md-6 col-md-offset-3">
                      <div class="form-group label-floating">
                        <select class="selectpicker" name="gateway" data-style="btn btn-warning btn-round" title="Select Withdraw Gateway" data-size="7">
                          @if($gate->status == 1)
                          <option value="1000">{{$gate->name}}</option>
                          @endif @foreach($gateways as $gateway)
                          <option value="{{$gateway->id}}">{{$gateway->name}}</option>
                          @endforeach
                        </select>
                      </div>
                    </div>
                  </div>
                  <br>
                  <div class="row">
                    <div class="col-md-6 col-md-offset-3">
                      <div class="form-group label-floating">
                        <label class="control-label" for="account">Your PayPal</label>
                        <input id="account" name="account" type="text" class="form-control">
                      </div>
                    </div>
                  </div>
                  <br>
                  <div class="row">
                    <div class="col-md-6 col-md-offset-3">
                      <div class="form-group label-floating">
                        <label class="control-label" for="amount">Withdraw Amount</label>
                        <input id="amount" name="amount" type="text" class="form-control">
                      </div>
                    </div>
                  </div>

我需要编辑文件中弹出的所有错误响应以及整个网站上的任何其他错误响应。

PHP 处理 错误 报告

评论

0赞 Dale 12/20/2019
整个网站上的任何其他错误响应。🤣
0赞 Chidi Okeke 12/20/2019
不,别担心。我能够从“应用程序控制器”中找到错误响应,自定义了我需要的所有响应。
0赞 Chidi Okeke 12/20/2019
这不是脚本错误消息。需要在整个网站中编辑自定义错误响应。例;“密码格式错误”、“密码错误”、“电子邮件错误无效”、“错误未达到最低提款额”、“错误完成KYC”等.........我需要自定义单词,而不是脚本错误。
0赞 Chidi Okeke 12/20/2019
我猜你不明白这个问题。但是我已经解决了我的问题。谢谢大家....

答: 暂无答案