Carga inicial

This commit is contained in:
IvanAS94
2025-12-26 17:21:11 -08:00
parent 45d9afc951
commit 51880798ca
359 changed files with 42159 additions and 1 deletions

View File

@@ -0,0 +1,33 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class CapacidadAprovechadaRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'fecha_inicio' => 'required|date_format:"Y-m-d"',
'fecha_final' => 'required|date_format:"Y-m-d"',
'vehiculo_id' => 'alpha_num|required',
];
}
}

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class ConsultarAsesoresRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'fecha_inicio' => 'required|date_format:"Y-m-d"',
'fecha_final' => 'required|date_format:"Y-m-d"'
];
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class ConsultarAtencionClientesRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'fecha_inicio' => 'required|date_format:"Y-m-d"',
'fecha_final' => 'required|date_format:"Y-m-d"',
'definio' => 'alpha_num|required',
];
}
}

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class ConsultarClientesRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'fecha_inicio' => 'required|date_format:"Y-m-d"',
'fecha_final' => 'required|date_format:"Y-m-d"'
];
}
}

View File

@@ -0,0 +1,32 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class ConsultarVehiculosRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'fecha_inicio' => 'required|date_format:"Y-m-d"',
'fecha_final' => 'required|date_format:"Y-m-d"'
];
}
}

View File

@@ -0,0 +1,31 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class EncuestasGeneralRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'mes' => 'required'
];
}
}

View File

@@ -0,0 +1,31 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class FiltroAsesoresRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'mes' => 'required'
];
}
}

View File

@@ -0,0 +1,34 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class ProductividadAtencionClientesRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'fecha_inicio' => 'required|date_format:"Y-m-d"',
'fecha_final' => 'required|date_format:"Y-m-d"',
'usuario_id' => 'alpha_num|required',
'definio' => 'alpha_num|required',
];
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class ServiciosAsesoresRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'fecha_inicio' => 'required|date_format:"Y-m-d"',
'fecha_final' => 'required|date_format:"Y-m-d"',
'usuario_id' => 'alpha_num|required',
];
}
}

View File

@@ -0,0 +1,33 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class ServiciosClientesRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'fecha_inicio' => 'required|date_format:"Y-m-d"',
'fecha_final' => 'required|date_format:"Y-m-d"',
'cliente_id' => 'alpha_num|required',
];
}
}

View File

@@ -0,0 +1,36 @@
<?php
namespace App\Http\Requests\Reportes;
use Illuminate\Foundation\Http\FormRequest;
class ServiciosRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'sucursal' => 'alpha_num|required',
'fecha_inicio' => 'required|date_format:"Y-m-d"',
'fecha_final' => 'required|date_format:"Y-m-d"',
'tipo_servicio' => 'alpha_num|required',
'estado_servicio' => 'alpha_num|required',
'servicio' => 'alpha_num|required',
'origen' => 'alpha_num|required',
];
}
}