Simples IP Desenvolvimento
2 years ago
commit
0bf244a44f
2 changed files with 83 additions and 0 deletions
@ -0,0 +1,19 @@
|
||||
FROM php:7.4-fpm |
||||
RUN apt-get update && apt-get install -y \ |
||||
libfreetype6-dev \ |
||||
libjpeg62-turbo-dev \ |
||||
libpq-dev \ |
||||
libpng-dev \ |
||||
git vim \ |
||||
&& docker-php-ext-configure gd --with-freetype --with-jpeg \ |
||||
&& docker-php-ext-install -j$(nproc) gd |
||||
RUN docker-php-ext-configure pgsql && docker-php-ext-install pgsql pdo_pgsql |
||||
WORKDIR /var/www/html |
||||
RUN git clone http://desenvolvimento:SimpleS_G1t34@192.168.115.233:3000/awade/simulador_acm.git |
||||
WORKDIR /var/www/html/simulador_acm |
||||
EXPOSE 80 |
||||
ENTRYPOINT [ "php" ] |
||||
CMD ["-S", "0.0.0.0:80", "-t", "/var/www/html/simulador_acm"] |
||||
|
||||
# docker image build -t simulador_acm . |
||||
# docker run -d --name simulador_acm -p 8282:80 simulador_acm |
@ -0,0 +1,64 @@
|
||||
<?php |
||||
|
||||
$client = [ |
||||
[ |
||||
"client_id" => 8731, |
||||
"name" => "Jhon Klaver Soren", |
||||
"document" => "100.162.763-24", |
||||
"invoice" => [ |
||||
["id" => 1291, "due_date" => "2022-12-02", "paid" => "", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 0.0, "tax_bank" => 0.0, "tax_gov" => 0.0], |
||||
["id" => 1290, "due_date" => "2022-11-01", "paid" => "2022-11-04", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
["id" => 1289, "due_date" => "2022-10-05", "paid" => "2022-10-01", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
["id" => 1288, "due_date" => "2022-09-03", "paid" => "2022-09-02", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
["id" => 1287, "due_date" => "2022-08-02", "paid" => "2022-08-01", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
["id" => 1286, "due_date" => "2022-07-07", "paid" => "2022-07-08", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
["id" => 1285, "due_date" => "2022-06-08", "paid" => "2022-06-20", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
["id" => 1284, "due_date" => "2022-05-09", "paid" => "2022-05-07", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
["id" => 1283, "due_date" => "2022-04-01", "paid" => "2022-03-31", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
["id" => 1282, "due_date" => "2022-03-05", "paid" => "2022-03-03", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
["id" => 1281, "due_date" => "2022-02-06", "paid" => "2022-02-06", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
["id" => 1280, "due_date" => "2022-01-07", "paid" => "2022-01-04", "plan" => "TV_PREMIUM_300", "amount" => 119.5, "received" => 116.3, "tax_bank" => 1.5, "tax_gov" => 1.7], |
||||
] |
||||
], |
||||
[ |
||||
"client_id" => 8732, |
||||
"name" => "Karmem De La Rosa", |
||||
"document" => "099.500.792-87", |
||||
"invoice" => [ |
||||
["id" => 1191, "due_date" => "2022-12-22", "paid" => "", "plan" => "TV_MAX", "amount" => 209.9, "received" => 0.0, "tax_bank" => 0.0, "tax_gov" => 0.0], |
||||
["id" => 1190, "due_date" => "2022-11-21", "paid" => "", "plan" => "TV_MAX", "amount" => 209.9, "received" => 0.0, "tax_bank" => 0.0, "tax_gov" => 0.0], |
||||
["id" => 1189, "due_date" => "2022-10-25", "paid" => "2022-10-27", "plan" => "TV_MAX", "amount" => 209.9, "received" => 205.9, "tax_bank" => 1.5, "tax_gov" => 2.5], |
||||
["id" => 1188, "due_date" => "2022-09-23", "paid" => "2022-10-02", "plan" => "TV_MAX", "amount" => 209.9, "received" => 205.9, "tax_bank" => 1.5, "tax_gov" => 2.5], |
||||
["id" => 1187, "due_date" => "2022-08-22", "paid" => "2022-09-11", "plan" => "TV_MAX", "amount" => 209.9, "received" => 205.9, "tax_bank" => 1.5, "tax_gov" => 2.5], |
||||
["id" => 1186, "due_date" => "2022-07-27", "paid" => "2022-08-02", "plan" => "TV_MAX", "amount" => 209.9, "received" => 205.9, "tax_bank" => 1.5, "tax_gov" => 2.5], |
||||
["id" => 1185, "due_date" => "2022-06-28", "paid" => "2022-07-04", "plan" => "TV_MAX", "amount" => 209.9, "received" => 205.9, "tax_bank" => 1.5, "tax_gov" => 2.5], |
||||
["id" => 1184, "due_date" => "2022-05-29", "paid" => "2022-05-29", "plan" => "TV_MAX", "amount" => 209.9, "received" => 205.9, "tax_bank" => 1.5, "tax_gov" => 2.5], |
||||
["id" => 1183, "due_date" => "2022-04-21", "paid" => "2022-04-20", "plan" => "TV_MAX", "amount" => 209.9, "received" => 205.9, "tax_bank" => 1.5, "tax_gov" => 2.5], |
||||
["id" => 1182, "due_date" => "2022-03-25", "paid" => "2022-04-13", "plan" => "TV_MAX", "amount" => 209.9, "received" => 205.9, "tax_bank" => 1.5, "tax_gov" => 2.5], |
||||
["id" => 1181, "due_date" => "2022-02-26", "paid" => "2022-03-10", "plan" => "TV_MAX", "amount" => 209.9, "received" => 205.9, "tax_bank" => 1.5, "tax_gov" => 2.5], |
||||
["id" => 1180, "due_date" => "2022-01-27", "paid" => "2022-02-04", "plan" => "TV_MAX", "amount" => 209.9, "received" => 205.9, "tax_bank" => 1.5, "tax_gov" => 2.5], |
||||
] |
||||
], |
||||
[ |
||||
"client_id" => 8730, |
||||
"name" => "Richard Nathel Khalel", |
||||
"document" => "321.121.233-18", |
||||
"invoice" => [ |
||||
["id" => 1091, "due_date" => "2022-12-02", "paid" => "", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 0.0, "tax_bank" => 0.0, "tax_gov" => 0.0], |
||||
["id" => 1090, "due_date" => "2022-11-02", "paid" => "2022-11-01", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
["id" => 1089, "due_date" => "2022-10-02", "paid" => "2022-10-04", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
["id" => 1088, "due_date" => "2022-09-02", "paid" => "2022-08-30", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
["id" => 1087, "due_date" => "2022-08-02", "paid" => "2022-08-05", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
["id" => 1086, "due_date" => "2022-07-02", "paid" => "2022-07-02", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
["id" => 1085, "due_date" => "2022-06-02", "paid" => "2022-06-01", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
["id" => 1084, "due_date" => "2022-05-02", "paid" => "2022-05-01", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
["id" => 1083, "due_date" => "2022-04-02", "paid" => "2022-03-30", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
["id" => 1082, "due_date" => "2022-03-02", "paid" => "2022-03-02", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
["id" => 1081, "due_date" => "2022-02-02", "paid" => "2022-02-01", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
["id" => 1080, "due_date" => "2022-01-02", "paid" => "2022-01-03", "plan" => "TV_TURBO", "amount" => 449.9, "received" => 444.8, "tax_bank" => 1.5, "tax_gov" => 3.6], |
||||
] |
||||
] |
||||
]; |
||||
|
||||
header('Content-Type: application/json; charset=UTF8'); |
||||
echo json_encode($client); |
Loading…
Reference in new issue