You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
114 lines
2.0 KiB
114 lines
2.0 KiB
---
|
|
|
|
CollapseMetaTable: yes
|
|
Groceries: ["🍶 6 bottle(s) Coke 0","🍿 whole Snacks","🧈 2 packet(s) Beurre","🫒 bottle(s) Olive oil","🍺 bottle(s) Beers","🥯 packet(s) Bagels","🍯 jar(s) Bonne Maman","🍌 whole Bananas","🧀 packet(s) Fromage rape","🥩 packet(s) Cured meat","🍐 4 whole Fruit","🍝 packet(s) Pasta","🌶️ bottle(s) Tabasco"]
|
|
Health: ["🚿 1 whole shower gel","🧴 whole shampoo","🪥 whole toothbrush","🦷 whole toothpaste","👂 1 whole earbuds","🪒 whole razor blades (mach3)","🍦 whole shaving cream","🧻 1 whole loo rolls","🦨 whole deo"]
|
|
Household: ["👔 whole Washing gel","🧻 whole Kitchen towel","🧽 2 whole Sponge","👕 bottle(s) Softener","🍽️ packet(s) Dishwasher tablets", "🧂 1 bag(s) Dishwasher salt","🚰 bottle(s) Dishwasher rinsing aid"]
|
|
|
|
---
|
|
|
|
parent:: [[@@Life Organisation|Life Orga]]
|
|
|
|
---
|
|
|
|
 
|
|
|
|
```button
|
|
name Save
|
|
type command
|
|
action Save current file
|
|
id Save
|
|
```
|
|
^button-ShoppingListSave
|
|
|
|
 
|
|
|
|
# Shopping list
|
|
|
|
 
|
|
|
|
```ad-abstract
|
|
title: Summary
|
|
collapse: open
|
|
Shopping list management.
|
|
```
|
|
|
|
 
|
|
|
|
```toc
|
|
style: number
|
|
```
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### Groceries
|
|
|
|
 
|
|
|
|
```dataviewjs
|
|
dv.view("00.01 Admin/dv-views/print_shoppingitems", { items: dv.current().Groceries})
|
|
```
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### Health
|
|
|
|
 
|
|
|
|
```dataviewjs
|
|
dv.view("00.01 Admin/dv-views/print_shoppingitems", { items: dv.current().Health})
|
|
```
|
|
|
|
 
|
|
|
|
---
|
|
|
|
 
|
|
|
|
### Household
|
|
|
|
 
|
|
|
|
```dataviewjs
|
|
dv.view("00.01 Admin/dv-views/print_shoppingitems", { items: dv.current().Household})
|
|
```
|
|
|
|
 
|
|
|
|
### Buttons
|
|
|
|
 
|
|
|
|
#### Reset
|
|
|
|
 
|
|
|
|
```dataviewjs
|
|
const {shoppingFunc} = customJS
|
|
shoppingFunc.resetList({ app: app, dv: dv, that:this, theme: "to0", listOfIt: "Groceries" })
|
|
```
|
|
|
|
 
|
|
|
|
```dataviewjs
|
|
const {shoppingFunc} = customJS
|
|
shoppingFunc.resetList({ app: app, dv: dv, that:this, theme: "to0", listOfIt: "Health" })
|
|
```
|
|
|
|
 
|
|
|
|
```dataviewjs
|
|
const {shoppingFunc} = customJS
|
|
shoppingFunc.resetList({ app: app, dv: dv, that:this, theme: "to0", listOfIt: "Household" })
|
|
```
|
|
|
|
 
|
|
  |