Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tupá
Manage
Activity
Members
Labels
Plan
Issues
13
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
sistemas
Tupá
Merge requests
!119
ADD visitas: validaciones de longitud
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
ADD visitas: validaciones de longitud
feature/validacion-visitas
into
develop
Overview
0
Commits
1
Pipelines
1
Changes
2
Merged
Luciano Cassettai
requested to merge
feature/validacion-visitas
into
develop
4 years ago
Overview
0
Commits
1
Pipelines
1
Changes
2
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
37f9c93b
1 commit,
4 years ago
2 files
+
6
−
6
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
visitas/app/Http/Controllers/VisitasController.php
+
3
−
3
Options
@@ -54,10 +54,10 @@ class VisitasController extends Controller
recaptchaFieldName
()
=>
recaptchaRuleName
(),
'nombre'
=>
'required|max:30|string'
,
'apellido'
=>
'required|max:30|string'
,
'dni'
=>
'required|numeric'
,
'telefono'
=>
'required|numeric'
,
'dni'
=>
'required|
digits_between:6,8|
numeric'
,
'telefono'
=>
'required|
digits_between:6,15|
numeric'
,
'email'
=>
'required|max:60|email'
,
'direccion'
=>
'required|max:60'
,
'direccion'
=>
'required|
min:3|
max:60'
,
]);
$idVisitante
=
$this
->
tupaApi
->
postVisitante
(
$request
);
Loading