diff --git a/src/AppHeijunka.vue b/src/AppHeijunka.vue
index e1769cf..c6c2824 100644
--- a/src/AppHeijunka.vue
+++ b/src/AppHeijunka.vue
@@ -238,7 +238,7 @@ const createdAt = new Date('2026-01-01').toLocaleDateString(undefined, {
day: {{ heijunkaStore.currentDay }} | current hour:
{{ heijunkaStore.meta.currentHour }} hours | cash flow:
- {{ heijunkaStore.cashFlow }}
+ {{ heijunkaStore.cashFlow }}€
@@ -248,8 +248,6 @@ const createdAt = new Date('2026-01-01').toLocaleDateString(undefined, {
Orders made: {{ heijunkaStore.orders.length }}
- Inventory
@@ -300,9 +298,12 @@ const createdAt = new Date('2026-01-01').toLocaleDateString(undefined, {
The longer the lead time is, the longer it takes to have return on investment. You already paid for the raw material, the workforce, the @@ -404,6 +407,14 @@ li { } } +.orders { + ol { + display: flex; + flex-wrap: wrap; + gap: 1rem; + } +} + button { display: flex; align-items: center; diff --git a/src/modules/heijkunka/HeijunkaStat.vue b/src/modules/heijkunka/HeijunkaStat.vue index 79a15e7..4dea550 100644 --- a/src/modules/heijkunka/HeijunkaStat.vue +++ b/src/modules/heijkunka/HeijunkaStat.vue @@ -22,10 +22,10 @@ const renderChart = () => { const config = { title: `Orders made`, - xLabel: 'Products', + xLabel: 'Products (ordered | made)', yLabel: '# of orders', data: { - labels: products.map((p) => [`${p} ordered`, `${p} made`]).flat(), + labels: products.map((p) => [`${p} o`, `${p}`]).flat(), datasets: [ { data: products diff --git a/src/modules/heijkunka/heijunka-store.ts b/src/modules/heijkunka/heijunka-store.ts index 5ab2aa8..b5c71c4 100644 --- a/src/modules/heijkunka/heijunka-store.ts +++ b/src/modules/heijkunka/heijunka-store.ts @@ -142,8 +142,8 @@ export const useHeijunkaStore = defineStore('heijunka', { Math.ceil(state.meta.currentHour / NUMBER_OF_HOURS_PER_DAY), cashFlow: (state) => INITIAL_CASH_FLOW - - state.meta.currentHour * 3 + - state.orders.filter((o) => o.status === 'received').length * 4, + state.meta.currentHour * 1 + + state.orders.filter((o) => o.status === 'received').length * 2, remainingInventory: (state): Inventory => ({ shirt: Math.max( state.inventory.shirt -