---> agregamos port en redirect
This commit is contained in:
parent
84922f7548
commit
68f034f197
2
.env
2
.env
@ -15,7 +15,7 @@ PYTHON_EXECUTABLE=/usr/local/bin/python3.9
|
|||||||
PYTHON_SCRIPT=/home/informemedico/impacs/cgi/soffice/generar_pdf_api.py
|
PYTHON_SCRIPT=/home/informemedico/impacs/cgi/soffice/generar_pdf_api.py
|
||||||
TEMPLATE_NAME=Con Membrete
|
TEMPLATE_NAME=Con Membrete
|
||||||
pr2_statusname=FINAL
|
pr2_statusname=FINAL
|
||||||
IDSITE=191
|
IDSITE=86
|
||||||
#ESCANEADOS=https://cedialcom.informemedico.com.ar:4443/cgi-bin/imageasjpeg.bf/imageasjpeg/
|
#ESCANEADOS=https://cedialcom.informemedico.com.ar:4443/cgi-bin/imageasjpeg.bf/imageasjpeg/
|
||||||
ESCANEADOS=https://estudios.nobissalud.com.ar/#
|
ESCANEADOS=https://estudios.nobissalud.com.ar/#
|
||||||
acceso_ed=IDSTUDY
|
acceso_ed=IDSTUDY
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
deps/tzdata/priv/latest_remote_poll.txt
vendored
2
deps/tzdata/priv/latest_remote_poll.txt
vendored
@ -1 +1 @@
|
|||||||
2025-4-17
|
2025-5-6
|
@ -10,6 +10,8 @@ defmodule ApiWeb.Redirect do
|
|||||||
Envar.require_env_file(".env")
|
Envar.require_env_file(".env")
|
||||||
|
|
||||||
redirect = Envar.get("REDIRECT")
|
redirect = Envar.get("REDIRECT")
|
||||||
|
|
||||||
|
idsite = Envar.get("IDSITE")
|
||||||
Logger.info("parametros: #{inspect(accession)}")
|
Logger.info("parametros: #{inspect(accession)}")
|
||||||
|
|
||||||
|
|
||||||
@ -17,7 +19,7 @@ defmodule ApiWeb.Redirect do
|
|||||||
hash = case get_hash_v2(accession) do
|
hash = case get_hash_v2(accession) do
|
||||||
{:ok, hash} ->
|
{:ok, hash} ->
|
||||||
|
|
||||||
url = "https://estudio.informemedico.com.ar/#/191/" <> hash
|
url = "https://estudio.informemedico.com.ar/#/#{idsite}/" <> hash
|
||||||
|
|
||||||
{:error, error_msg} ->
|
{:error, error_msg} ->
|
||||||
text(conn, "Error al obtener hash: #{error_msg}")
|
text(conn, "Error al obtener hash: #{error_msg}")
|
||||||
|
@ -10,11 +10,11 @@ defmodule ApiWeb.EmailerLive.Index do
|
|||||||
%{title: "id", field: "idemailtosend", headerFilter: true},
|
%{title: "id", field: "idemailtosend", headerFilter: true},
|
||||||
%{title: "ID Study", field: "idstudy", headerFilter: true},
|
%{title: "ID Study", field: "idstudy", headerFilter: true},
|
||||||
%{title: "email", field: "patientemail", width: 300, headerFilter: true, editor: "input"},
|
%{title: "email", field: "patientemail", width: 300, headerFilter: true, editor: "input"},
|
||||||
%{title: "sent", field: "sent", formatter: "tickCross", hozAlign: "center", headerFilter: true},
|
%{title: "sent", field: "sent", formatter: "tickCross", hozAlign: "center", editor: "tickCross", headerFilter: true},
|
||||||
%{title: "hasreport", field: "hasreport", formatter: "tickCross", hozAlign: "center", headerFilter: true},
|
%{title: "hasreport", field: "hasreport", formatter: "tickCross", hozAlign: "center", headerFilter: true},
|
||||||
%{title: "retries", field: "retries", headerFilter: true},
|
%{title: "retries", field: "retries", headerFilter: true},
|
||||||
%{title: "errormsg", field: "errormsg", width: 200},
|
%{title: "errormsg", field: "errormsg", width: 200},
|
||||||
%{title: "forcereprocess", field: "forcereprocess", formatter: "tickCross", editor: "tickCross", headerFilter: true},
|
%{title: "forcereprocess", field: "forcereprocess", formatter: "tickCross", headerFilter: true},
|
||||||
%{title: "Sent date time", field: "sentdatetime"},
|
%{title: "Sent date time", field: "sentdatetime"},
|
||||||
%{title: "Accession Number", field: "accessionnumber"},
|
%{title: "Accession Number", field: "accessionnumber"},
|
||||||
%{title: "Patientname", field: "patientname"},
|
%{title: "Patientname", field: "patientname"},
|
||||||
|
@ -1,11 +1,15 @@
|
|||||||
<div class="flex flex-row pt-4 pl-1 text-slate-700">
|
<div class="flex flex-row pt-4 pl-1 text-slate-700">
|
||||||
<Heroicons.LiveView.icon name="list-bullet" type="outline" class="w-6 h-6" />
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" d="M8.25 6.75h12M8.25 12h12m-12 5.25h12M3.75 6.75h.007v.008H3.75V6.75Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0ZM3.75 12h.007v.008H3.75V12Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Zm-.375 5.25h.007v.008H3.75v-.008Zm.375 0a.375.375 0 1 1-.75 0 .375.375 0 0 1 .75 0Z" />
|
||||||
|
</svg>
|
||||||
<h2 class=" text-[18px] font-medium pl-2 ">Listado</h2>
|
<h2 class=" text-[18px] font-medium pl-2 ">Listado</h2>
|
||||||
</div>
|
</div>
|
||||||
<p class="pl-2 text-m text-slate-600">Lista los emails por enviarse.</p>
|
<p class="pl-2 text-m text-slate-600">Lista los emails por enviarse.</p>
|
||||||
|
|
||||||
<button phx-click="update_tabulator" class="flex flex-row pt-4 pl-1 mb-2 text-slate-700">
|
<button phx-click="update_tabulator" class="flex flex-row pt-4 pl-1 mb-2 text-slate-700">
|
||||||
<Heroicons.LiveView.icon name="arrow-path" type="outline" class="w-6 h-6" />
|
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" d="M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99" />
|
||||||
|
</svg>
|
||||||
<h2 class=" text-[18px] font-medium pl-2 ">Actualizar</h2>
|
<h2 class=" text-[18px] font-medium pl-2 ">Actualizar</h2>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
@ -17,3 +21,5 @@
|
|||||||
data-columns={Jason.encode!(@columns)}>
|
data-columns={Jason.encode!(@columns)}>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user