Advertisement
Guest User

Untitled

a guest
Feb 17th, 2020
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 15.53 KB | None | 0 0
  1. {
  2.     "cliente": {
  3.         "id": 3,
  4.         "nome": "clientes_seed_3 - cliente",
  5.         "tipo": "cliente"
  6.     },
  7.     "total": 0,
  8.     "vendasCliente": {
  9.         "total_vendas": 2336,
  10.         "vendas": [
  11.             {
  12.                 "data": "2019-11-14 18:00:00",
  13.                 "tipo": 1,
  14.                 "vendas": [
  15.                     {
  16.                         "id": 1,
  17.                         "preco": "21.00",
  18.                         "qtd_kg": "21.00",
  19.                         "data": "2019-11-14 18:00:00",
  20.                         "clientes_id": 1,
  21.                         "funcionarios_id": 3,
  22.                         "periodos_id": 1,
  23.                         "produtos_id": 1,
  24.                         "regioes_id": 1,
  25.                         "total": 441,
  26.                         "tipo": 1,
  27.                         "saldo": 882,
  28.                         "produtos": {
  29.                             "id": 1,
  30.                             "nome": "misto"
  31.                         }
  32.                     },
  33.                     {
  34.                         "id": 3,
  35.                         "preco": "21.00",
  36.                         "qtd_kg": "21.00",
  37.                         "data": "2019-11-14 18:00:00",
  38.                         "clientes_id": 1,
  39.                         "funcionarios_id": 3,
  40.                         "periodos_id": 1,
  41.                         "produtos_id": 2,
  42.                         "regioes_id": 1,
  43.                         "total": 441,
  44.                         "tipo": 1,
  45.                         "saldo": 882,
  46.                         "produtos": {
  47.                             "id": 2,
  48.                             "nome": "mel"
  49.                         }
  50.                     }
  51.                 ],
  52.                 "total_dia": 882
  53.             },
  54.             {
  55.                 "data": "2019-11-14 19:00:00",
  56.                 "tipo": 1,
  57.                 "vendas": [
  58.                     {
  59.                         "id": 2,
  60.                         "preco": "21.00",
  61.                         "qtd_kg": "21.00",
  62.                         "data": "2019-11-14 19:00:00",
  63.                         "clientes_id": 1,
  64.                         "funcionarios_id": 3,
  65.                         "periodos_id": 1,
  66.                         "produtos_id": 1,
  67.                         "regioes_id": 1,
  68.                         "total": 441,
  69.                         "tipo": 1,
  70.                         "saldo": 1323,
  71.                         "produtos": {
  72.                             "id": 1,
  73.                             "nome": "misto"
  74.                         }
  75.                     }
  76.                 ],
  77.                 "total_dia": 441
  78.             },
  79.             {
  80.                 "data": "2019-11-15 18:00:00",
  81.                 "tipo": 1,
  82.                 "vendas": [
  83.                     {
  84.                         "id": 4,
  85.                         "preco": "22.00",
  86.                         "qtd_kg": "22.00",
  87.                         "data": "2019-11-15 18:00:00",
  88.                         "clientes_id": 1,
  89.                         "funcionarios_id": 3,
  90.                         "periodos_id": 1,
  91.                         "produtos_id": 1,
  92.                         "regioes_id": 1,
  93.                         "total": 484,
  94.                         "tipo": 1,
  95.                         "saldo": 1807,
  96.                         "produtos": {
  97.                             "id": 1,
  98.                             "nome": "misto"
  99.                         }
  100.                     }
  101.                 ],
  102.                 "total_dia": 484
  103.             },
  104.             {
  105.                 "data": "2019-11-16 18:00:00",
  106.                 "tipo": 1,
  107.                 "vendas": [
  108.                     {
  109.                         "id": 5,
  110.                         "preco": "23.00",
  111.                         "qtd_kg": "23.00",
  112.                         "data": "2019-11-16 18:00:00",
  113.                         "clientes_id": 1,
  114.                         "funcionarios_id": 3,
  115.                         "periodos_id": 2,
  116.                         "produtos_id": 1,
  117.                         "regioes_id": 1,
  118.                         "total": 529,
  119.                         "tipo": 1,
  120.                         "saldo": 2336,
  121.                         "produtos": {
  122.                             "id": 1,
  123.                             "nome": "misto"
  124.                         }
  125.                     }
  126.                 ],
  127.                 "total_dia": 529
  128.             }
  129.         ]
  130.     },
  131.     "adiantamentos": {
  132.         "lista": [],
  133.         "total_adiantamentos": 0
  134.     },
  135.     "entrada": {
  136.         "lista": [],
  137.         "total_entrada": 0
  138.     },
  139.     "clientes": [
  140.         {
  141.             "id": 1,
  142.             "nome": "clientes_seed_1 - cliente",
  143.             "tipo": "cliente"
  144.         },
  145.         {
  146.             "id": 2,
  147.             "nome": "clientes_seed_2 - cliente",
  148.             "tipo": "cliente"
  149.         },
  150.         {
  151.             "id": 3,
  152.             "nome": "clientes_seed_3 - cliente",
  153.             "tipo": "cliente"
  154.         }
  155.     ],
  156.     "funcionarios": [
  157.         {
  158.             "id": 1,
  159.             "nome": "COPPERTEC - funcionario",
  160.             "tiposdefuncionarios_id": 1,
  161.             "tipo": "funcionario"
  162.         },
  163.         {
  164.             "id": 2,
  165.             "nome": "funcionario1 - funcionario",
  166.             "tiposdefuncionarios_id": 2,
  167.             "tipo": "funcionario"
  168.         },
  169.         {
  170.             "id": 3,
  171.             "nome": "funcionario2 - funcionario",
  172.             "tiposdefuncionarios_id": 2,
  173.             "tipo": "funcionario"
  174.         },
  175.         {
  176.             "id": 4,
  177.             "nome": "COPPERTEC2 - funcionario",
  178.             "tiposdefuncionarios_id": 1,
  179.             "tipo": "funcionario"
  180.         },
  181.         {
  182.             "id": 5,
  183.             "nome": "GOVERNO - funcionario",
  184.             "tiposdefuncionarios_id": 3,
  185.             "tipo": "funcionario"
  186.         }
  187.     ],
  188.     "fornecedores": [
  189.         {
  190.             "id": 1,
  191.             "nome": "miguel - fornecedor",
  192.             "favorecido": "miguel",
  193.             "regioes_id": 1,
  194.             "tipo": "fornecedor"
  195.         },
  196.         {
  197.             "id": 2,
  198.             "nome": "carlos - fornecedor",
  199.             "favorecido": "carlos",
  200.             "regioes_id": 1,
  201.             "tipo": "fornecedor"
  202.         },
  203.         {
  204.             "id": 3,
  205.             "nome": "jose - fornecedor",
  206.             "favorecido": "jose",
  207.             "regioes_id": 2,
  208.             "tipo": "fornecedor"
  209.         }
  210.     ],
  211.     "periodos": [
  212.         {
  213.             "id": 1,
  214.             "inicio": "2019-11-14 18:00:00",
  215.             "fim": "2019-11-19 19:00:00",
  216.             "legenda": "semana 1"
  217.         },
  218.         {
  219.             "id": 2,
  220.             "inicio": "2019-11-20 18:00:00",
  221.             "fim": "2019-11-30 19:00:00",
  222.             "legenda": "semana 2"
  223.         }
  224.     ],
  225.     "gastos_registrados": [
  226.         {
  227.             "id": 1,
  228.             "tipo": "Devoluções de materiais",
  229.             "tiposdegastos_id": 1
  230.         },
  231.         {
  232.             "id": 2,
  233.             "tipo": "Impostos",
  234.             "tiposdegastos_id": 2
  235.         },
  236.         {
  237.             "id": 3,
  238.             "tipo": "Compra de mercadoria",
  239.             "tiposdegastos_id": 3
  240.         },
  241.         {
  242.             "id": 4,
  243.             "tipo": "Pró-Labore",
  244.             "tiposdegastos_id": 4
  245.         },
  246.         {
  247.             "id": 5,
  248.             "tipo": "CMV",
  249.             "tiposdegastos_id": 5
  250.         },
  251.         {
  252.             "id": 6,
  253.             "tipo": "Comissão de compra",
  254.             "tiposdegastos_id": 5
  255.         },
  256.         {
  257.             "id": 7,
  258.             "tipo": "Frete de venda",
  259.             "tiposdegastos_id": 5
  260.         },
  261.         {
  262.             "id": 8,
  263.             "tipo": "Frete de compras",
  264.             "tiposdegastos_id": 5
  265.         },
  266.         {
  267.             "id": 9,
  268.             "tipo": "Outros Custos",
  269.             "tiposdegastos_id": 5
  270.         },
  271.         {
  272.             "id": 10,
  273.             "tipo": "ICMS ST",
  274.             "tiposdegastos_id": 5
  275.         },
  276.         {
  277.             "id": 11,
  278.             "tipo": "ICMS diferença alíquota",
  279.             "tiposdegastos_id": 5
  280.         },
  281.         {
  282.             "id": 12,
  283.             "tipo": "SIMPLES",
  284.             "tiposdegastos_id": 5
  285.         },
  286.         {
  287.             "id": 13,
  288.             "tipo": "13º salário",
  289.             "tiposdegastos_id": 6
  290.         },
  291.         {
  292.             "id": 14,
  293.             "tipo": "Água encanada",
  294.             "tiposdegastos_id": 6
  295.         },
  296.         {
  297.             "id": 15,
  298.             "tipo": "Alimentação",
  299.             "tiposdegastos_id": 6
  300.         },
  301.         {
  302.             "id": 16,
  303.             "tipo": "Aluguel",
  304.             "tiposdegastos_id": 6
  305.         },
  306.         {
  307.             "id": 17,
  308.             "tipo": "Combustível operacional",
  309.             "tiposdegastos_id": 6
  310.         },
  311.         {
  312.             "id": 18,
  313.             "tipo": "Comunicação e telefone",
  314.             "tiposdegastos_id": 6
  315.         },
  316.         {
  317.             "id": 19,
  318.             "tipo": "Consultoria ",
  319.             "tiposdegastos_id": 6
  320.         },
  321.         {
  322.             "id": 20,
  323.             "tipo": "Contabilidade",
  324.             "tiposdegastos_id": 6
  325.         },
  326.         {
  327.             "id": 21,
  328.             "tipo": "Cursos e treinamentos",
  329.             "tiposdegastos_id": 6
  330.         },
  331.         {
  332.             "id": 22,
  333.             "tipo": "Despachante",
  334.             "tiposdegastos_id": 6
  335.         },
  336.         {
  337.             "id": 23,
  338.             "tipo": "Despesas bancárias",
  339.             "tiposdegastos_id": 6
  340.         },
  341.         {
  342.             "id": 24,
  343.             "tipo": "Despesas de cartório/despachante",
  344.             "tiposdegastos_id": 6
  345.         },
  346.         {
  347.             "id": 25,
  348.             "tipo": "Despesas de viagem",
  349.             "tiposdegastos_id": 6
  350.         },
  351.         {
  352.             "id": 26,
  353.             "tipo": "Despesas judiciais e custas",
  354.             "tiposdegastos_id": 6
  355.         },
  356.         {
  357.             "id": 27,
  358.             "tipo": "Despesas postais/Correios",
  359.             "tiposdegastos_id": 6
  360.         },
  361.         {
  362.             "id": 28,
  363.             "tipo": "Doações",
  364.             "tiposdegastos_id": 6
  365.         },
  366.         {
  367.             "id": 29,
  368.             "tipo": "Energia elétrica",
  369.             "tiposdegastos_id": 6
  370.         },
  371.         {
  372.             "id": 30,
  373.             "tipo": "Exame admicional/demic.",
  374.             "tiposdegastos_id": 6
  375.         },
  376.         {
  377.             "id": 31,
  378.             "tipo": "FGTS",
  379.             "tiposdegastos_id": 6
  380.         },
  381.         {
  382.             "id": 32,
  383.             "tipo": "Gráfica e impressões",
  384.             "tiposdegastos_id": 6
  385.         },
  386.         {
  387.             "id": 33,
  388.             "tipo": "Gratificação / Ajuda de custo",
  389.             "tiposdegastos_id": 6
  390.         },
  391.         {
  392.             "id": 34,
  393.             "tipo": "Brindes e gratificações clientes",
  394.             "tiposdegastos_id": 6
  395.         },
  396.         {
  397.             "id": 35,
  398.             "tipo": "Honorários ",
  399.             "tiposdegastos_id": 6
  400.         },
  401.         {
  402.             "id": 36,
  403.             "tipo": "INSS da empresa",
  404.             "tiposdegastos_id": 6
  405.         },
  406.         {
  407.             "id": 37,
  408.             "tipo": "INSS do funcionário",
  409.             "tiposdegastos_id": 6
  410.         },
  411.         {
  412.             "id": 38,
  413.             "tipo": "Internet",
  414.             "tiposdegastos_id": 6
  415.         },
  416.         {
  417.             "id": 39,
  418.             "tipo": "IPTU",
  419.             "tiposdegastos_id": 6
  420.         },
  421.         {
  422.             "id": 40,
  423.             "tipo": "Juros pagos",
  424.             "tiposdegastos_id": 6
  425.         },
  426.         {
  427.             "id": 41,
  428.             "tipo": "Manutenção e limpeza",
  429.             "tiposdegastos_id": 6
  430.         },
  431.         {
  432.             "id": 42,
  433.             "tipo": "Manutenção máq. e equip.",
  434.             "tiposdegastos_id": 6
  435.         },
  436.         {
  437.             "id": 43,
  438.             "tipo": "Manutenção predial",
  439.             "tiposdegastos_id": 6
  440.         },
  441.         {
  442.             "id": 44,
  443.             "tipo": "Materiais de escritório",
  444.             "tiposdegastos_id": 6
  445.         },
  446.         {
  447.             "id": 45,
  448.             "tipo": "Materiais de uso e consumo",
  449.             "tiposdegastos_id": 6
  450.         },
  451.         {
  452.             "id": 46,
  453.             "tipo": "Multa rescisória",
  454.             "tiposdegastos_id": 6
  455.         },
  456.         {
  457.             "id": 47,
  458.             "tipo": "Multas",
  459.             "tiposdegastos_id": 6
  460.         },
  461.         {
  462.             "id": 48,
  463.             "tipo": "Outros",
  464.             "tiposdegastos_id": 6
  465.         },
  466.         {
  467.             "id": 49,
  468.             "tipo": "Propaganda e Marketing",
  469.             "tiposdegastos_id": 6
  470.         },
  471.         {
  472.             "id": 50,
  473.             "tipo": "Salários",
  474.             "tiposdegastos_id": 6
  475.         },
  476.         {
  477.             "id": 51,
  478.             "tipo": "Segurança",
  479.             "tiposdegastos_id": 6
  480.         },
  481.         {
  482.             "id": 52,
  483.             "tipo": "Seguros",
  484.             "tiposdegastos_id": 6
  485.         },
  486.         {
  487.             "id": 53,
  488.             "tipo": "Serviços de terceiros",
  489.             "tiposdegastos_id": 6
  490.         },
  491.         {
  492.             "id": 54,
  493.             "tipo": "Sistemas e plataformas",
  494.             "tiposdegastos_id": 6
  495.         },
  496.         {
  497.             "id": 55,
  498.             "tipo": "Supermercado/Padaria",
  499.             "tiposdegastos_id": 6
  500.         },
  501.         {
  502.             "id": 56,
  503.             "tipo": "Taxas e tributos diversos",
  504.             "tiposdegastos_id": 6
  505.         },
  506.         {
  507.             "id": 57,
  508.             "tipo": "Tributos municipais",
  509.             "tiposdegastos_id": 6
  510.         },
  511.         {
  512.             "id": 58,
  513.             "tipo": "Uniformes e EPI´s",
  514.             "tiposdegastos_id": 6
  515.         },
  516.         {
  517.             "id": 59,
  518.             "tipo": "Imóveis",
  519.             "tiposdegastos_id": 7
  520.         },
  521.         {
  522.             "id": 60,
  523.             "tipo": "Investimentos",
  524.             "tiposdegastos_id": 7
  525.         },
  526.         {
  527.             "id": 61,
  528.             "tipo": "Máquinas e equipamentos",
  529.             "tiposdegastos_id": 7
  530.         },
  531.         {
  532.             "id": 62,
  533.             "tipo": "Móveis e utensílios",
  534.             "tiposdegastos_id": 7
  535.         },
  536.         {
  537.             "id": 63,
  538.             "tipo": "Outros desembolsos",
  539.             "tiposdegastos_id": 7
  540.         },
  541.         {
  542.             "id": 64,
  543.             "tipo": "Veículos",
  544.             "tiposdegastos_id": 7
  545.         },
  546.         {
  547.             "id": 65,
  548.             "tipo": "Pgt. Fornecedores",
  549.             "tiposdegastos_id": 8
  550.         },
  551.         {
  552.             "id": 66,
  553.             "tipo": "Amortização de financiamentos",
  554.             "tiposdegastos_id": 8
  555.         },
  556.         {
  557.             "id": 67,
  558.             "tipo": "Pgt. Dívidas",
  559.             "tiposdegastos_id": 8
  560.         },
  561.         {
  562.             "id": 68,
  563.             "tipo": "Retirada de lucro",
  564.             "tiposdegastos_id": 8
  565.         },
  566.         {
  567.             "id": 69,
  568.             "tipo": "Transferência bancária",
  569.             "tiposdegastos_id": 8
  570.         },
  571.         {
  572.             "id": 70,
  573.             "tipo": "Cheques devolvidos",
  574.             "tiposdegastos_id": 8
  575.         }
  576.     ],
  577.     "formas_de_pagamentos": [
  578.         {
  579.             "id": 1,
  580.             "tipo": "cartao"
  581.         },
  582.         {
  583.             "id": 2,
  584.             "tipo": "dinheiro"
  585.         },
  586.         {
  587.             "id": 3,
  588.             "tipo": "TED10"
  589.         },
  590.         {
  591.             "id": 4,
  592.             "tipo": "TED12"
  593.         }
  594.     ]
  595. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement