First!! :3 Existe una pequeña base de proyecto por ahora

This commit is contained in:
Daniel Cortes
2018-12-20 01:36:57 -03:00
commit b5720e75f1
17 changed files with 873 additions and 0 deletions

28
database/create.sql Normal file
View File

@@ -0,0 +1,28 @@
drop table if exists egresos;
drop table if exists tipos_egreso;
create table egresos(
id int(10) unsigned primary key auto_increment,
nro varchar(191) not null,
descripcion varchar(191) not null,
valor int(10) not null,
tipo_id int(10) not null
);
create table tipos_egreso(
id int(10) unsigned primary key auto_increment,
nombre varchar(191) not null
);
insert into tipos_egreso (nombre) values
('Guia Materia Prima'),
('Factura Materia Prima'),
('Factura Gastos Generales'),
('Pago Partime'),
('Gasto Menor Materia Prima'),
('Gasto General Sin Respaldo'),
('Gasto General Con Boleta'),
('Anticipo Arriendo'),
('Anticipo Personal'),
('Retiros Gerencia'),
('Otro');