Kalender
This commit is contained in:
parent
bcde49c876
commit
9563097e5f
|
|
@ -137,6 +137,10 @@ def getICSFileEx(request, code, ag):
|
||||||
#try:
|
#try:
|
||||||
agency = Agency.objects.get(pk=ag)
|
agency = Agency.objects.get(pk=ag)
|
||||||
|
|
||||||
|
print(agency)
|
||||||
|
print(agency.agencycal_publicstatus)
|
||||||
|
print(agency.agencycalurl)
|
||||||
|
|
||||||
if agency != None and agency.agencycal_publicstatus == 1 and code == agency.agencycalurl:
|
if agency != None and agency.agencycal_publicstatus == 1 and code == agency.agencycalurl:
|
||||||
c = Calendar()
|
c = Calendar()
|
||||||
absencedays = Absence.objects.filter(agency=ag).exclude(confirm_status=2)
|
absencedays = Absence.objects.filter(agency=ag).exclude(confirm_status=2)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue