app/Http/Requests/PaymentSettingsValidator.php
/**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
Get the validation rules that apply to the request.
@return array
Get the validation rules that apply to the request . @return array
public function rules()
    {
        return [
            'code'=>'required',
            'name'=>'required',
            'bankno'=>'required|min:6|max:25',
            'amount'=>'required',
            'currency'=>'required',
            'payment'=>'required',
            'reason'=>'required'
        ];
    }
public function rules ( ) { return [ 'code' => 'required' , 'name' => 'required' , 'bankno' => 'required|min:6|max:25' , 'amount' => 'required' , 'currency' => 'required' , 'payment' => 'required' , 'reason' => 'required' ] ; }
Get the validation rules that apply to the request.
Get the validation rules that apply to the request .