This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { Redirect, Route } from "react-router-dom"; | |
import PropTypes from "prop-types"; | |
export const PublicRoute = ({ | |
isAuthenticated, | |
component: Component, | |
...rest | |
}) => { | |
return ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from "react"; | |
import { Redirect, Route } from "react-router-dom"; | |
import PropTypes from "prop-types"; | |
export const PrivateRoute = ({ | |
isAuthenticated, | |
component: Component, | |
...rest | |
}) => { | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//PARA CONTCOMPROBANTE.PHP | |
$factura = array( | |
"numerofactura"=>$numerofactura, | |
"fechaemision"=>$fechaemision, | |
"horaemision"=>$horaemision, | |
"usuario"=>$nombre, | |
"codubigeo"=>$codUbigeo, | |
"tipodoc"=>$tipodoc, | |
"ruc"=>$ruc, | |
"moneda"=>$moneda, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## First | |
- Copy in web.php | |
/** | |
* GUIA DE REMISION | |
*/ | |
Route::post('guiaremision/buscar', 'GuiaRemisionController@buscar')->name('guiaremision.buscar'); | |
Route::get('guiaremision/eliminar/{id}/{listarluego}', 'GuiaRemisionController@eliminar')->name('guiaremision.eliminar'); | |
Route::get('guiaremision/ubigeoautocompletar/', 'GuiaRemisionController@ubigeo_autocompletar')->name('guiaremision.ubigeoautocompletar'); | |
Route::get('guiaremision/documentoautocompletar/', 'GuiaRemisionController@documento_autocompletar')->name('guiaremision.documentoautocompletar'); |