diff --git a/components.198185.json b/components.198185.json index 32a6aab7..0cb3e162 100644 --- a/components.198185.json +++ b/components.198185.json @@ -2526,7 +2526,7 @@ "name": "proposal-department", "display_name": null, "created_at": "2023-09-11T15:40:29.996Z", - "updated_at": "2023-09-11T15:40:38.569Z", + "updated_at": "2023-09-21T09:46:47.753Z", "id": 4555221, "schema": { "title": { @@ -2539,9 +2539,9 @@ }, "image": null, "preview_field": null, - "is_root": false, + "is_root": true, "preview_tmpl": null, - "is_nestable": true, + "is_nestable": false, "all_presets": [ { "id": 1897410, @@ -2845,7 +2845,7 @@ "name": "proposal-team-entry", "display_name": null, "created_at": "2023-09-11T15:39:52.162Z", - "updated_at": "2023-09-13T16:08:55.251Z", + "updated_at": "2023-09-21T09:47:12.652Z", "id": 4555220, "schema": { "team_member": { @@ -2855,7 +2855,7 @@ "options": [] }, "department": { - "type": "bloks", + "type": "option", "restrict_type": "", "restrict_components": true, "component_whitelist": ["proposal-department"], @@ -2863,7 +2863,10 @@ "maximum": 1, "required": true, "pos": 1, - "key": "department" + "key": "department", + "use_uuid": true, + "source": "internal_stories", + "filter_content_type": ["proposal-department"] }, "role": { "type": "bloks", diff --git a/src/components/awards-entry.svelte b/src/components/awards-entry.svelte new file mode 100644 index 00000000..29a785b2 --- /dev/null +++ b/src/components/awards-entry.svelte @@ -0,0 +1,41 @@ + + +
+ {label} +
+{name}
+{project}
+- {award.label} -
-{award.name}
-{award.project}
-{t('proposals.awards.description')}
+
+ + {t('proposals.estimates.area')} + + |
+
+ + {t('proposals.estimates.phases')} + + |
+
+
+ + {t('proposals.estimates.team')} + + |
+
+
+ + {t('proposals.estimates.duration')} + + |
+
+
+
+ + {t('proposals.estimates.predicted-cost')} + + |
+
+ + | +
---|---|---|---|---|---|
+
+ + {entry.title}. + ++ {entry.description} + + |
+ {/if}
+
+ {#if k == 0}
+
+ + {phase.title}. + ++ {phase.description} + + |
+ {/if}
+
+ + {#if teamMemberInfo} + {teamMemberInfo.role} + {/if} + | + ++ {team.duration} + | + +
+
+ {#if teamMemberInfo}
+ {#if teamMemberInfo.rate_type === 'percentage' && teamMemberInfo.rate_value}
+ + {teamMemberInfo.rate_value} % + + {:else if teamMemberInfo.rate_type === 'value' && teamMemberInfo.rate_value} ++ {formatter.format(+team.duration * +teamMemberInfo.rate_value)} + + {:else if teamMemberInfo.rate_type === 'free'} +{t('proposals.included')} + {/if} + {/if} + |
+
+ {#if k == 0 && j == 0}
+ + {/if} + |
+ {areaInfo.phases} + {#if areaInfo.phases == 1} + {t('proposals.estimates.phases')} + {:else} + {t('proposals.estimates.phase')} + {/if} + | + ++ {areaInfo.team} + {#if areaInfo.team == 1} + {t('proposals.estimates.person')} + {:else} + {t('proposals.estimates.people')} + {/if} + | + ++ {areaInfo.duration} + | + ++ + {formatter.format(areaInfo.cost)} + | +||
+ | + + | + {t('proposals.estimates.subtotal')} + | + ++ {totalDuration} + | + ++ + {formatter.format(subtotal)} + | + ++ |
+
+
+ {t('proposals.estimates.discount')} + |
+
+ - | + ++ + {formatter.format(discountedValue)} + | +|||
+ {t('proposals.estimates.gran-total')} + | + ++ {totalDuration} + | + ++ + {formatter.format(granTotal)} + | +
{t('proposals.nav.versions')}
diff --git a/src/routes/(proposals)/proposal/[slug]/proposal-page.svelte b/src/routes/(proposals)/proposal/[slug]/proposal-page.svelte index 2151ff4a..12e22623 100644 --- a/src/routes/(proposals)/proposal/[slug]/proposal-page.svelte +++ b/src/routes/(proposals)/proposal/[slug]/proposal-page.svelte @@ -1,44 +1,92 @@ + + ++ {t('proposals.scope.delivarable')} + |
+
+ + {t('proposals.scope.service')} + |
+
+ + {t('proposals.scope.features')} + |
+
+ + |
---|---|---|---|
+ + {entry.title}. + ++ {entry.description} + + + |
+
+
+
+ {#each entry.services || [] as service}
+
+ |
+
+
+ + {t('proposals.scope.multiple-features')} + + {#if isShowingFeatures[i]} +
+ {#each features as feature}
+
+ {/if}
+ + {feature} + + {/each} + |
+
+ + |
+ {t('proposals.team.department')} + |
+ + {t('proposals.team.team-member')} + |
+ {t('proposals.team.role')} |
+
+ {t('proposals.team.rate')} |
+ + |
---|---|---|---|---|
+ + {department.content.title}. + ++ {department.content.description} + + |
+ {/if}
+
+
+
+
+ {entry.team_member.member.name}
+
+
+ |
+
+
+
+
+ + {entry.role[0].title} + ++ {entry.role[0].description} + + |
+
+
+ {#if entry.rate_type === 'percentage' && entry.rate_value}
+ {entry.rate_value} % + {:else if entry.rate_type === 'value' && entry.rate_value} +{formatter.format(+entry.rate_value)} + {:else if entry.rate_type === 'free'} +{t('proposals.included')} + {/if} + |
+ {#if i == 0}
+ + {/if} + |
+ {t('proposals.testimonials.description')} +
+