Skip to content

Commit

Permalink
Merge pull request #244 from preranaandure/master
Browse files Browse the repository at this point in the history
Fix issue with User details page Licence, Returns etc dashboards and issue with PDF original issue date.
  • Loading branch information
xzzy authored Mar 18, 2024
2 parents e2be8c8 + bb310c8 commit ac4c923
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion wildlifecompliance/components/licences/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def _create_licence_purpose(
date_values.insert(
0,
Paragraph(
issued_purpose.original_issue_date,
issued_purpose.original_issue_date.strftime('%d/%m/%Y'),
styles['Left']))

delegation.append(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,9 +323,9 @@ export default {
activate_tables: false,
comms_url: helpers.add_endpoint_json(api_endpoints.users,vm.$route.params.user_id+'/comms_log'),
logs_url: helpers.add_endpoint_json(api_endpoints.users,vm.$route.params.user_id+'/action_log'),
applications_url: api_endpoints.applications_paginated+'internal_datatable_list?user_id='+vm.$route.params.user_id,
licences_url: api_endpoints.licences_paginated+'internal_datatable_list?user_id='+vm.$route.params.user_id,
returns_url: api_endpoints.returns_paginated+'user_datatable_list?user_id='+vm.$route.params.user_id,
applications_url: api_endpoints.applications_paginated+'internal_datatable_list?format=datatables&user_id='+vm.$route.params.user_id,
licences_url: api_endpoints.licences_paginated+'internal_datatable_list?format=datatables&user_id='+vm.$route.params.user_id,
returns_url: api_endpoints.returns_paginated+'user_datatable_list?format=datatables&user_id='+vm.$route.params.user_id,
orgRequest_pending: [],
datepickerOptions:{
format: 'DD/MM/YYYY',
Expand Down

0 comments on commit ac4c923

Please sign in to comment.