Ignore:
Timestamp:
10/17/21 18:39:50 (3 years ago)
Author:
Berat Kjufliju <kufliju@…>
Branches:
develop, master
Children:
bd9e8e3
Parents:
120759b
Message:

added validation to blades

File:
1 edited

Legend:

Unmodified
Added
Removed
  • app/Http/Requests/Dashboard/UpdateDepartmentRequest.php

    r120759b rd795fa6  
    2525    {
    2626        return [
    27             "name" => "required|min:2|max:25|unique:departments,name,$this->id,id",
    28             "code" => "required|min:2|max:10|unique:departments,code,$this->id,id"
     27            "name" => "required|min:2|max:30|unique:departments,name,$this->id,id",
     28            "code" => "required|min:2|max:30|unique:departments,code,$this->id,id"
    2929        ];
    3030    }
Note: See TracChangeset for help on using the changeset viewer.