🍵 {{ t.title }} v3.1 Full

{{ trip.name }} ({{ fmt(trip.items.length) }}) ×
฿ {{ fmt(stats.totalCost) }}
฿ {{ fmt(stats.totalSales) }}
฿ {{ fmt(stats.totalProfit) }} ({{ stats.marginPct }}%)
{{ fmt(filteredItems.length) }} / {{ fmt(activeTrip.items.length) }} {{ t.items }}
{{ t.col_cat }} {{ t.col_brand }} {{ t.col_type }} {{ t.col_size }} QTY {{ t.col_yen_title }} {{ t.col_cost_unit }} {{ t.col_expiry }} {{ t.col_stock }} {{ t.col_desc }}
฿ {{ fmt(i.yen * activeTrip.rate) }} {{ fmt(Math.max(0, i.qty - i.sold)) }}

🌐 {{ t.cat_internet }}

{{ t.col_total_sale }}: ฿ {{ fmt(channelStats.internet.sales) }}

{{ t.col_profit }}: ฿ {{ fmt(channelStats.internet.profit) }}

{{ t.margin }}: {{ channelStats.internet.margin }}%

☕ {{ t.cat_cafe }}

{{ t.col_total_sale }}: ฿ {{ fmt(channelStats.cafe.sales) }}

{{ t.col_profit }}: ฿ {{ fmt(channelStats.cafe.profit) }}

{{ t.margin }}: {{ channelStats.cafe.margin }}%

🏆 {{ t.rank_margin }}

  • {{ idx+1 }}. {{ r.brand }} {{ r.type }} {{ r.margin }}%

📈 {{ t.rank_sales }}

  • {{ idx+1 }}. {{ r.brand }} {{ r.type }} ฿ {{ fmt(r.totalSale) }}
{{ t.col_cat }} {{ t.col_item }} {{ t.col_qty }} {{ t.col_cost_unit }} {{ t.col_sold }} {{ t.col_price }} {{ t.col_total_sale }} {{ t.col_discount }} {{ t.col_profit }} %
{{ i.category === 'internet' ? t.cat_internet_short : t.cat_cafe_short }} {{ i.brand }} {{ i.type }} ({{ i.size }}g) {{ fmt(i.qty) }} ฿ {{ fmt(i.yen * activeTrip.rate) }} ฿ {{ fmt(i.sold * i.price) }} ฿ {{ fmt(profit(i)) }} {{ marginPct(i) }}%

🎯 {{ t.sim_select }}

{{ t.sim_cost_jpy }}: {{ fmt(simItem.yen) }} 円

{{ t.sim_cost_thb }}: ฿ {{ fmt(simItemCost) }}


📊 {{ t.sim_result }}

฿ {{ fmt(simUnitProfit) }}
{{ simMargin }} %
฿ {{ fmt(simTotalProfit) }}
฿ {{ fmt(simPrice + simShipping) }}

⚔️ {{ t.competitor }}

฿
{{ t.price_diff }}: ฿ {{ fmt(simPrice - simItem.compA) }} {{ t.sim_total_sale_proj }}: ฿ {{ fmt(compAStats.sales) }} {{ t.sim_total_profit_proj }}: ฿ {{ fmt(compAStats.profit) }} {{ t.margin }}: {{ compAStats.margin }} %
฿
{{ t.price_diff }}: ฿ {{ fmt(simPrice - simItem.compB) }} {{ t.sim_total_sale_proj }}: ฿ {{ fmt(compBStats.sales) }} {{ t.sim_total_profit_proj }}: ฿ {{ fmt(compBStats.profit) }} {{ t.margin }}: {{ compBStats.margin }} %
{{ toast }}