Skip to content
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

MMB-282: Allow the admin to specify file to use as certificate #84

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

olayiwola-compucorp
Copy link
Contributor

Overview

In the past, when setting up a certificate, administrators were limited to defining a message template that would be created when a user downloaded the certificate. With this pull request (PR), administrators now have the ability to directly specify a document to serve as the certificate, eliminating the need for the certificate to be generated from a CiviCRM HTML message template.

Before

image

After

popoo

Technical Details

This pull request introduces a new attribute, download_type, to the certificate entity. This attribute is designed to specify the certificate download type.

<field>
  <name>download_type</name>
  <type>int unsigned</type>
  <required>false</required>
  <comment>Predefined CompuCertificate download type (1 - MESSAGE TEMPLATE, 2 - FILE)</comment>
  <default>1</default>
  <html>
    <type>Number</type>
  </html>
</field>

@olayiwola-compucorp olayiwola-compucorp changed the base branch from master to MMB-78-workstream December 5, 2023 10:52
@olayiwola-compucorp olayiwola-compucorp merged commit ba7103f into MMB-78-workstream Dec 12, 2023
2 checks passed
@olayiwola-compucorp olayiwola-compucorp deleted the MMB-282-certificate-type branch December 12, 2023 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants