format
This commit is contained in:
parent
b00233cd3b
commit
af680149bd
|
@ -9,9 +9,8 @@ import { map } from 'rxjs/operators';
|
||||||
export class ReportsService {
|
export class ReportsService {
|
||||||
constructor(
|
constructor(
|
||||||
@InjectModel(Report.name)
|
@InjectModel(Report.name)
|
||||||
private readonly reportModel: Model<ReportDocument>,
|
private readonly reportModel: Model<ReportDocument>, //
|
||||||
) //
|
) {}
|
||||||
{}
|
|
||||||
|
|
||||||
async create(report: ReportDocument): Promise<Report> {
|
async create(report: ReportDocument): Promise<Report> {
|
||||||
return this.reportModel.create(report);
|
return this.reportModel.create(report);
|
||||||
|
|
|
@ -63,7 +63,11 @@ const Inquilinos = () => {
|
||||||
</div>
|
</div>
|
||||||
<div className="p-field col-12 md:col-6">
|
<div className="p-field col-12 md:col-6">
|
||||||
<label htmlFor="identificacion">Identificación</label>
|
<label htmlFor="identificacion">Identificación</label>
|
||||||
<InputText type="text" className="form-control" id="identificacion"/>
|
<InputText
|
||||||
|
type="text"
|
||||||
|
className="form-control"
|
||||||
|
id="identificacion"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="p-field col-12 md:col-6">
|
<div className="p-field col-12 md:col-6">
|
||||||
<label htmlFor="correo_electronico">Correo electrónico</label>
|
<label htmlFor="correo_electronico">Correo electrónico</label>
|
||||||
|
@ -83,7 +87,11 @@ const Inquilinos = () => {
|
||||||
</div>
|
</div>
|
||||||
<div className="p-field col-12 md:col-6">
|
<div className="p-field col-12 md:col-6">
|
||||||
<label htmlFor="identificacion">Identificación</label>
|
<label htmlFor="identificacion">Identificación</label>
|
||||||
<InputText type="password" className="form-control" id="identificacion"/>
|
<InputText
|
||||||
|
type="password"
|
||||||
|
className="form-control"
|
||||||
|
id="identificacion"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Button label="Registrar" onClick={registrarInquilino} />
|
<Button label="Registrar" onClick={registrarInquilino} />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue