Cin7 clean up. Updated Williams-Sonoma templates.

This commit is contained in:
Norm Rasmussen
2024-08-23 18:51:09 -04:00
parent ce9ad7ae88
commit 8864a74ac4
114 changed files with 5309 additions and 2 deletions

View File

@ -7,6 +7,9 @@
{% for category in learning_path.categories %}
{% assign category_lowercase = category.name | downcase %}
{% if category_lowercase == "new hire training" %}
<script>
console.log("User is enrolled to: {{ learning_path.name}})
</script>
{% assign is_enrolled_in_new_hire_lp = true %}
{% assign new_hire_progress = learning_path.progress %}
{% break %}
@ -44,6 +47,9 @@
{% else %}
{% if is_enrolled_in_new_hire_lp == true %}
{% if new_hire_progress == 100 %}
<script>
console.log("User new hire progress is 100")
</script>
{% assign today_date = 'now' | date: '%s' | times: 1 %}
{% assign completed_date = current_person.properties.training_completion_date | date: '%s' | times: 1 %}
<script>
@ -88,4 +94,4 @@
console.log(`Current Progress of New Hire Path: {{ new_hire_progress }}%`)
console.log(`Zoom URL: {{ zoom_url }}`)
</script>
</script>