Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "cliente": {
- "id": 3,
- "nome": "clientes_seed_3 - cliente",
- "tipo": "cliente"
- },
- "total": 0,
- "vendasCliente": {
- "total_vendas": 2336,
- "vendas": [
- {
- "data": "2019-11-14 18:00:00",
- "tipo": 1,
- "vendas": [
- {
- "id": 1,
- "preco": "21.00",
- "qtd_kg": "21.00",
- "data": "2019-11-14 18:00:00",
- "clientes_id": 1,
- "funcionarios_id": 3,
- "periodos_id": 1,
- "produtos_id": 1,
- "regioes_id": 1,
- "total": 441,
- "tipo": 1,
- "saldo": 882,
- "produtos": {
- "id": 1,
- "nome": "misto"
- }
- },
- {
- "id": 3,
- "preco": "21.00",
- "qtd_kg": "21.00",
- "data": "2019-11-14 18:00:00",
- "clientes_id": 1,
- "funcionarios_id": 3,
- "periodos_id": 1,
- "produtos_id": 2,
- "regioes_id": 1,
- "total": 441,
- "tipo": 1,
- "saldo": 882,
- "produtos": {
- "id": 2,
- "nome": "mel"
- }
- }
- ],
- "total_dia": 882
- },
- {
- "data": "2019-11-14 19:00:00",
- "tipo": 1,
- "vendas": [
- {
- "id": 2,
- "preco": "21.00",
- "qtd_kg": "21.00",
- "data": "2019-11-14 19:00:00",
- "clientes_id": 1,
- "funcionarios_id": 3,
- "periodos_id": 1,
- "produtos_id": 1,
- "regioes_id": 1,
- "total": 441,
- "tipo": 1,
- "saldo": 1323,
- "produtos": {
- "id": 1,
- "nome": "misto"
- }
- }
- ],
- "total_dia": 441
- },
- {
- "data": "2019-11-15 18:00:00",
- "tipo": 1,
- "vendas": [
- {
- "id": 4,
- "preco": "22.00",
- "qtd_kg": "22.00",
- "data": "2019-11-15 18:00:00",
- "clientes_id": 1,
- "funcionarios_id": 3,
- "periodos_id": 1,
- "produtos_id": 1,
- "regioes_id": 1,
- "total": 484,
- "tipo": 1,
- "saldo": 1807,
- "produtos": {
- "id": 1,
- "nome": "misto"
- }
- }
- ],
- "total_dia": 484
- },
- {
- "data": "2019-11-16 18:00:00",
- "tipo": 1,
- "vendas": [
- {
- "id": 5,
- "preco": "23.00",
- "qtd_kg": "23.00",
- "data": "2019-11-16 18:00:00",
- "clientes_id": 1,
- "funcionarios_id": 3,
- "periodos_id": 2,
- "produtos_id": 1,
- "regioes_id": 1,
- "total": 529,
- "tipo": 1,
- "saldo": 2336,
- "produtos": {
- "id": 1,
- "nome": "misto"
- }
- }
- ],
- "total_dia": 529
- }
- ]
- },
- "adiantamentos": {
- "lista": [],
- "total_adiantamentos": 0
- },
- "entrada": {
- "lista": [],
- "total_entrada": 0
- },
- "clientes": [
- {
- "id": 1,
- "nome": "clientes_seed_1 - cliente",
- "tipo": "cliente"
- },
- {
- "id": 2,
- "nome": "clientes_seed_2 - cliente",
- "tipo": "cliente"
- },
- {
- "id": 3,
- "nome": "clientes_seed_3 - cliente",
- "tipo": "cliente"
- }
- ],
- "funcionarios": [
- {
- "id": 1,
- "nome": "COPPERTEC - funcionario",
- "tiposdefuncionarios_id": 1,
- "tipo": "funcionario"
- },
- {
- "id": 2,
- "nome": "funcionario1 - funcionario",
- "tiposdefuncionarios_id": 2,
- "tipo": "funcionario"
- },
- {
- "id": 3,
- "nome": "funcionario2 - funcionario",
- "tiposdefuncionarios_id": 2,
- "tipo": "funcionario"
- },
- {
- "id": 4,
- "nome": "COPPERTEC2 - funcionario",
- "tiposdefuncionarios_id": 1,
- "tipo": "funcionario"
- },
- {
- "id": 5,
- "nome": "GOVERNO - funcionario",
- "tiposdefuncionarios_id": 3,
- "tipo": "funcionario"
- }
- ],
- "fornecedores": [
- {
- "id": 1,
- "nome": "miguel - fornecedor",
- "favorecido": "miguel",
- "regioes_id": 1,
- "tipo": "fornecedor"
- },
- {
- "id": 2,
- "nome": "carlos - fornecedor",
- "favorecido": "carlos",
- "regioes_id": 1,
- "tipo": "fornecedor"
- },
- {
- "id": 3,
- "nome": "jose - fornecedor",
- "favorecido": "jose",
- "regioes_id": 2,
- "tipo": "fornecedor"
- }
- ],
- "periodos": [
- {
- "id": 1,
- "inicio": "2019-11-14 18:00:00",
- "fim": "2019-11-19 19:00:00",
- "legenda": "semana 1"
- },
- {
- "id": 2,
- "inicio": "2019-11-20 18:00:00",
- "fim": "2019-11-30 19:00:00",
- "legenda": "semana 2"
- }
- ],
- "gastos_registrados": [
- {
- "id": 1,
- "tipo": "Devoluções de materiais",
- "tiposdegastos_id": 1
- },
- {
- "id": 2,
- "tipo": "Impostos",
- "tiposdegastos_id": 2
- },
- {
- "id": 3,
- "tipo": "Compra de mercadoria",
- "tiposdegastos_id": 3
- },
- {
- "id": 4,
- "tipo": "Pró-Labore",
- "tiposdegastos_id": 4
- },
- {
- "id": 5,
- "tipo": "CMV",
- "tiposdegastos_id": 5
- },
- {
- "id": 6,
- "tipo": "Comissão de compra",
- "tiposdegastos_id": 5
- },
- {
- "id": 7,
- "tipo": "Frete de venda",
- "tiposdegastos_id": 5
- },
- {
- "id": 8,
- "tipo": "Frete de compras",
- "tiposdegastos_id": 5
- },
- {
- "id": 9,
- "tipo": "Outros Custos",
- "tiposdegastos_id": 5
- },
- {
- "id": 10,
- "tipo": "ICMS ST",
- "tiposdegastos_id": 5
- },
- {
- "id": 11,
- "tipo": "ICMS diferença alíquota",
- "tiposdegastos_id": 5
- },
- {
- "id": 12,
- "tipo": "SIMPLES",
- "tiposdegastos_id": 5
- },
- {
- "id": 13,
- "tipo": "13º salário",
- "tiposdegastos_id": 6
- },
- {
- "id": 14,
- "tipo": "Água encanada",
- "tiposdegastos_id": 6
- },
- {
- "id": 15,
- "tipo": "Alimentação",
- "tiposdegastos_id": 6
- },
- {
- "id": 16,
- "tipo": "Aluguel",
- "tiposdegastos_id": 6
- },
- {
- "id": 17,
- "tipo": "Combustível operacional",
- "tiposdegastos_id": 6
- },
- {
- "id": 18,
- "tipo": "Comunicação e telefone",
- "tiposdegastos_id": 6
- },
- {
- "id": 19,
- "tipo": "Consultoria ",
- "tiposdegastos_id": 6
- },
- {
- "id": 20,
- "tipo": "Contabilidade",
- "tiposdegastos_id": 6
- },
- {
- "id": 21,
- "tipo": "Cursos e treinamentos",
- "tiposdegastos_id": 6
- },
- {
- "id": 22,
- "tipo": "Despachante",
- "tiposdegastos_id": 6
- },
- {
- "id": 23,
- "tipo": "Despesas bancárias",
- "tiposdegastos_id": 6
- },
- {
- "id": 24,
- "tipo": "Despesas de cartório/despachante",
- "tiposdegastos_id": 6
- },
- {
- "id": 25,
- "tipo": "Despesas de viagem",
- "tiposdegastos_id": 6
- },
- {
- "id": 26,
- "tipo": "Despesas judiciais e custas",
- "tiposdegastos_id": 6
- },
- {
- "id": 27,
- "tipo": "Despesas postais/Correios",
- "tiposdegastos_id": 6
- },
- {
- "id": 28,
- "tipo": "Doações",
- "tiposdegastos_id": 6
- },
- {
- "id": 29,
- "tipo": "Energia elétrica",
- "tiposdegastos_id": 6
- },
- {
- "id": 30,
- "tipo": "Exame admicional/demic.",
- "tiposdegastos_id": 6
- },
- {
- "id": 31,
- "tipo": "FGTS",
- "tiposdegastos_id": 6
- },
- {
- "id": 32,
- "tipo": "Gráfica e impressões",
- "tiposdegastos_id": 6
- },
- {
- "id": 33,
- "tipo": "Gratificação / Ajuda de custo",
- "tiposdegastos_id": 6
- },
- {
- "id": 34,
- "tipo": "Brindes e gratificações clientes",
- "tiposdegastos_id": 6
- },
- {
- "id": 35,
- "tipo": "Honorários ",
- "tiposdegastos_id": 6
- },
- {
- "id": 36,
- "tipo": "INSS da empresa",
- "tiposdegastos_id": 6
- },
- {
- "id": 37,
- "tipo": "INSS do funcionário",
- "tiposdegastos_id": 6
- },
- {
- "id": 38,
- "tipo": "Internet",
- "tiposdegastos_id": 6
- },
- {
- "id": 39,
- "tipo": "IPTU",
- "tiposdegastos_id": 6
- },
- {
- "id": 40,
- "tipo": "Juros pagos",
- "tiposdegastos_id": 6
- },
- {
- "id": 41,
- "tipo": "Manutenção e limpeza",
- "tiposdegastos_id": 6
- },
- {
- "id": 42,
- "tipo": "Manutenção máq. e equip.",
- "tiposdegastos_id": 6
- },
- {
- "id": 43,
- "tipo": "Manutenção predial",
- "tiposdegastos_id": 6
- },
- {
- "id": 44,
- "tipo": "Materiais de escritório",
- "tiposdegastos_id": 6
- },
- {
- "id": 45,
- "tipo": "Materiais de uso e consumo",
- "tiposdegastos_id": 6
- },
- {
- "id": 46,
- "tipo": "Multa rescisória",
- "tiposdegastos_id": 6
- },
- {
- "id": 47,
- "tipo": "Multas",
- "tiposdegastos_id": 6
- },
- {
- "id": 48,
- "tipo": "Outros",
- "tiposdegastos_id": 6
- },
- {
- "id": 49,
- "tipo": "Propaganda e Marketing",
- "tiposdegastos_id": 6
- },
- {
- "id": 50,
- "tipo": "Salários",
- "tiposdegastos_id": 6
- },
- {
- "id": 51,
- "tipo": "Segurança",
- "tiposdegastos_id": 6
- },
- {
- "id": 52,
- "tipo": "Seguros",
- "tiposdegastos_id": 6
- },
- {
- "id": 53,
- "tipo": "Serviços de terceiros",
- "tiposdegastos_id": 6
- },
- {
- "id": 54,
- "tipo": "Sistemas e plataformas",
- "tiposdegastos_id": 6
- },
- {
- "id": 55,
- "tipo": "Supermercado/Padaria",
- "tiposdegastos_id": 6
- },
- {
- "id": 56,
- "tipo": "Taxas e tributos diversos",
- "tiposdegastos_id": 6
- },
- {
- "id": 57,
- "tipo": "Tributos municipais",
- "tiposdegastos_id": 6
- },
- {
- "id": 58,
- "tipo": "Uniformes e EPI´s",
- "tiposdegastos_id": 6
- },
- {
- "id": 59,
- "tipo": "Imóveis",
- "tiposdegastos_id": 7
- },
- {
- "id": 60,
- "tipo": "Investimentos",
- "tiposdegastos_id": 7
- },
- {
- "id": 61,
- "tipo": "Máquinas e equipamentos",
- "tiposdegastos_id": 7
- },
- {
- "id": 62,
- "tipo": "Móveis e utensílios",
- "tiposdegastos_id": 7
- },
- {
- "id": 63,
- "tipo": "Outros desembolsos",
- "tiposdegastos_id": 7
- },
- {
- "id": 64,
- "tipo": "Veículos",
- "tiposdegastos_id": 7
- },
- {
- "id": 65,
- "tipo": "Pgt. Fornecedores",
- "tiposdegastos_id": 8
- },
- {
- "id": 66,
- "tipo": "Amortização de financiamentos",
- "tiposdegastos_id": 8
- },
- {
- "id": 67,
- "tipo": "Pgt. Dívidas",
- "tiposdegastos_id": 8
- },
- {
- "id": 68,
- "tipo": "Retirada de lucro",
- "tiposdegastos_id": 8
- },
- {
- "id": 69,
- "tipo": "Transferência bancária",
- "tiposdegastos_id": 8
- },
- {
- "id": 70,
- "tipo": "Cheques devolvidos",
- "tiposdegastos_id": 8
- }
- ],
- "formas_de_pagamentos": [
- {
- "id": 1,
- "tipo": "cartao"
- },
- {
- "id": 2,
- "tipo": "dinheiro"
- },
- {
- "id": 3,
- "tipo": "TED10"
- },
- {
- "id": 4,
- "tipo": "TED12"
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement