-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Digital post #402
Digital post #402
Conversation
f5e66df
to
9302812
Compare
9302812
to
76b166a
Compare
e1e11e7
to
e0921f7
Compare
0fecac1
to
ab02bc0
Compare
fc1cd28
to
07ff794
Compare
assets/app.js
Outdated
const digitalPostAttachmentsInfo = document.querySelector('.digital-post-attachments-info') | ||
if (digitalPostRecipientWrapper && digitalPostAttachmentsInfo) { | ||
const recipients = digitalPostRecipientWrapper.querySelectorAll(recipientSelector) | ||
const updateStuff = () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider renaming although it does indeed update stuff
assets/content/content.scss
Outdated
// .tvist1-can-receive-digital-post { | ||
// color: green; | ||
// } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// .tvist1-can-receive-digital-post { | |
// color: green; | |
// } |
ForsendelseHelper::FORSENDELSES_TYPE_IDENTIFIKATOR => $this->options['sf1601']['forsendelses_type_identifikator'], | ||
]; | ||
$forsendelse = $this->forsendelseHelper->createForsendelse($digitalPost, $recipient, $forsendelseOptions); | ||
if (in_array($type, [SF1601::TYPE_DIGITAL_POST, SF1601::TYPE_AUTOMATISK_VALG], true)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what i gather $type
can enver be SF1601::TYPE_AUTOMATISK_VALG
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're absolutely right, but there's nothing wrong with future-proofing a solution to a problem.
https://leantime.itkdev.dk/dashboard/home#/tickets/showTicket/1015
Optimizes handling of digital post to make sure that we don't send a superfluously big payload to SF1601's KombiPostAfsend endpoint.
Also contains minor tweaks and fixes to make developers and code analysis tools happy.