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/NewDepartmentRequest.php

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