Explorar el Código

fixed view saldo in Zaliczka

Piotr Labudda hace 9 años
padre
commit
f6626ac30b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      SE/se-lib/Route/UrlAction/UserProNetMediaZaliczka.php

+ 1 - 0
SE/se-lib/Route/UrlAction/UserProNetMediaZaliczka.php

@@ -392,6 +392,7 @@ class Route_UrlAction_UserProNetMediaZaliczka extends RouteBase {// TODO: UrlAct
 						, (
 							select (v.KWOTA + v.NIEROZLICZONA_KWOTA - v.rozliczona_kwota) as saldo
 							from ZALICZKA_INFO_VIEW v
+							where v.L_APPOITMENT_USER = u.ADM_ACCOUNT
 							order by v.ID desc
 							limit 1
 						) as saldo