{{!-- En-tête --}}

{{#if (eq type "passengers")}} Résultats – Passagers {{else if (eq type "cargo")}} Résultats – Cargaison {{else if (eq type "trade-goods")}} Marchandises disponibles {{else if (eq type "buy-prices")}} Prix d'achat {{else if (eq type "sell-prices")}} Prix de vente {{/if}}

{{!-- ══════════════════════════════════════ --}} {{!-- Passagers --}} {{!-- ══════════════════════════════════════ --}} {{#if (eq type "passengers")}}

{{dep.uwp}} {{dest.uwp}} {{parsecs}} parsec{{#if (gt parsecs 1)}}s{{/if}}

{{#each categories}} {{/each}}
Catégorie Total Passagers Tarif Revenu
{{label}} {{trafficTotal}} {{count}} {{formatCredits pricePerPax}} {{formatCredits revenue}}
Revenu total potentiel {{formatCredits totalRevenue}}
{{/if}} {{!-- ══════════════════════════════════════ --}} {{!-- Cargaison --}} {{!-- ══════════════════════════════════════ --}} {{#if (eq type "cargo")}}

{{dep.uwp}} {{dest.uwp}} {{parsecs}} parsec{{#if (gt parsecs 1)}}s{{/if}}

{{#each lots}} {{/each}}
Type Total Lots T/lot Tarif/t Revenu
{{label}} {{trafficTotal}} {{count}} {{tonsPerLot}} t {{formatCredits ratePerTon}} {{formatCredits revenue}}
Sous-total cargaison {{formatCredits cargoRevenue}}
Courrier : {{#if mail.available}} {{mail.count}} conteneur{{#if (gt mail.count 1)}}s{{/if}} × 25 000 Cr = {{formatCredits mail.revenue}} {{else}} Aucun courrier disponible {{/if}}
Revenu total potentiel {{formatCredits totalRevenue}}
{{/if}} {{!-- ══════════════════════════════════════ --}} {{!-- Marchandises disponibles (trade-goods) --}} {{!-- ══════════════════════════════════════ --}} {{#if (eq type "trade-goods")}}

Monde : {{world.uwp}}  |  Codes : {{#if world.tradeCodes.length}} {{join world.tradeCodes " "}} {{else}} Aucun {{/if}}

{{#if supplierRoll}}

Recherche fournisseur : {{supplierRoll.dice}} + {{supplierRoll.mod}} = {{supplierRoll.total}}

{{/if}}
{{#if goods.length}} {{#each goods}} {{/each}}
D66 Marchandise Dispo Prix base/t MD achat MD vente
{{d66}} {{name}}{{#if illegal}} {{/if}} {{tons}} t {{formatCredits basePrice}} {{#if (gt buyMod 0)}}+{{/if}}{{buyMod}} {{#if (gt sellMod 0)}}+{{/if}}{{sellMod}}
{{else}}

Aucune marchandise disponible sur ce monde.

{{/if}} {{/if}} {{!-- ══════════════════════════════════════ --}} {{!-- Prix d'achat / vente --}} {{!-- ══════════════════════════════════════ --}} {{#if (eq type "buy-prices")}} {{#each prices}} {{/each}}
Marchandise Tonnes Total % Coût total
{{name}} {{tons}} t {{total}} {{percent}}% {{formatCredits totalCost}}
Coût d'achat total {{formatCredits grandTotal}}
{{/if}}