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

The inactive email template should not be listed in the email-template dropdown if the admin is creating the campaigns email template #7368

Closed
1 task done
Sanjaybhattwebkul opened this issue Mar 22, 2023 · 1 comment
Assignees
Labels
Admin Admin package related issues. Bug Fixed When bug issue is fixed. Bug Something isn't working.
Milestone

Comments

@Sanjaybhattwebkul
Copy link
Contributor

Terms

  • Before you openning this issue, i have checked if the issue has already been reported.

Bagisto Version(s) affected

Master

Issue Description

if the admin user is creating the campaigns. inactive email-template are also listed in the email template dropdown

Preconditions

1. Some email templates should be created
2. At least one email template should be inactive

Steps to reproduce

1. Go to the 'Admin panel'
2. Click on 'email-templates' inside the 'promotions'
3. Create some email templates and inactive any one email template.
4. Click on campaigns.
5. Try to create campaigns and select the email-templates
6. See error

Expected Result

The inactive email template should not be listed in the email-template dropdown if the admin is creating the campaigns email template

Actual Result

if the admin user is creating the campaigns. inactive email-template are also listed in the email template dropdown

Screenshots

template

Additional context

No response

@Sanjaybhattwebkul Sanjaybhattwebkul added the Bug Something isn't working. label Mar 22, 2023
@Sanjaybhattwebkul Sanjaybhattwebkul added this to the 2.0.0 milestone Mar 22, 2023
@Sanjaybhattwebkul Sanjaybhattwebkul added the Admin Admin package related issues. label Mar 22, 2023
gitesh-webkul added a commit to gitesh-webkul/bagisto that referenced this issue Mar 23, 2023
@Sanjaybhattwebkul Sanjaybhattwebkul added the Fix Proposed A issue that has a PR related to it that provides a possible resolution but stil needs to be merged. label Mar 23, 2023
@Amitk-webkul
Copy link
Collaborator

@gitesh-webkul Draft Email should not be shown in the Campaign.

draft1

draft

@devansh-webkul devansh-webkul added Bug Fixed When bug issue is fixed. and removed Fix Proposed A issue that has a PR related to it that provides a possible resolution but stil needs to be merged. labels Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Admin package related issues. Bug Fixed When bug issue is fixed. Bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

5 participants