Se a cambiado la organizacion de las ventanas y se creo la vista de estado resultado junto con su modelo
This commit is contained in:
@@ -141,4 +141,29 @@ create table calculo_fondo
|
||||
descripcion text not null,
|
||||
caja_id integer not null,
|
||||
foreign key (caja_id) references caja (id) on update cascade on delete restrict
|
||||
);
|
||||
);
|
||||
|
||||
-- Quinta migracion, tabla para generar y guardar el estado de resultado
|
||||
drop table if exists estado_resultado;
|
||||
create table estado_resultado
|
||||
(
|
||||
id integer primary key,
|
||||
mes date unique not null,
|
||||
costo_venta integer null,
|
||||
cuenta_corriente_factura integer null,
|
||||
cuenta_corriente_boleta integer null,
|
||||
cuenta_corriente_sin_respaldo integer null,
|
||||
remuneraciones integer null,
|
||||
finiquitos integer null,
|
||||
aguinaldo integer null,
|
||||
bonos_personal integer null,
|
||||
honorarios_contador integer null,
|
||||
arriendo integer null,
|
||||
agua integer null,
|
||||
luz integer null,
|
||||
gas integer null,
|
||||
telefono integer null,
|
||||
otro_servicio integer null,
|
||||
ppm real null,
|
||||
ivaFavor int null
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user