test
This commit is contained in:
parent
14015ea0e8
commit
d47376c8df
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
$(document).ready(function(){
|
||||
// FIRST CALL GROUPS, When Groups finished User will call by Groups
|
||||
createAgencyGroups(groupids[0]);
|
||||
//createAgencyGroups(groupids[0]);
|
||||
|
||||
//DEV
|
||||
//rebuildingStandards(standards[0]);
|
||||
|
|
|
|||
|
|
@ -710,7 +710,10 @@ class AdmImportFlow(TemplateView):
|
|||
ag_pk = str(agency.pk)
|
||||
ag_groups = []
|
||||
for g in groups:
|
||||
if(ag_pk in g.name):
|
||||
|
||||
# GET AGENCY GROUP
|
||||
agencygroupcheck = AgencyGroup.objects.get(group=g)
|
||||
if(ag_pk in g.name and str(agencygroupcheck.agency.pk) == ag_pk):
|
||||
ag_groups.append(g)
|
||||
|
||||
context.update({'groups' : ag_groups})
|
||||
|
|
|
|||
Loading…
Reference in New Issue