Merge branch 'develop' into trunk
This commit is contained in:
commit
c790fdf63d
2 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ class StoreScheduleRequest extends FormRequest
|
|||
new EnumIsValidRule(CellModel::class)
|
||||
],
|
||||
'id_lie' => 'required_with:model_lie|nullable|numeric',
|
||||
'description' => 'required|string|min:5|max:90'
|
||||
'description' => 'required|string|min:3|max:90'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ export default {
|
|||
Object.keys(dbscheds).forEach(userid => {
|
||||
//what if we missing a slot for the whole period ?
|
||||
//we need to make missing slots too
|
||||
for(let i=1; i < 5; i++) {
|
||||
for(let i=1; i < this.daySlots+1; i++) {
|
||||
if(dbscheds[userid][i] === undefined) {
|
||||
dbscheds[userid][i] = {};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue