Login About Gallery
Repay Groceries
COMMENT
‎🛒 **Grocery Repayment Shortcut** This Shortcut helps streamline the process of calculating and sending a repayment request for groceries bought on behalf of someone else, specifically if the receipt includes both their purchases and personal items, along with optional purchases of koopzegels (savings stamps).
SCRIPTING
‎Ask ‎How much is paid for groceries?
Input Type
‎Number
Default Answer
‎0
VARIABLES
‎Set variable ‎totalAmount ‎to ‎Ask for Input
SCRIPTING
‎Ask ‎How much is paid for Koopzegels?
Input Type
‎Number
Default Answer
‎0
VARIABLES
‎Set variable ‎koopZegels ‎to ‎Ask for Input
SCRIPTING
‎Ask ‎How many items are personal purchases?
Input Type
‎Number
Default Answer
‎0
SCRIPTING
‎If ‎Ask for Input ‎is ‎0
NOTHING
‎Nothing
SCRIPTING
‎Otherwise
NUMBER
‎0
VARIABLES
‎Set variable ‎itemNumber ‎to ‎Number
SCRIPTING
‎Repeat ‎Ask for Input
MATHS
‎itemNumber ‎+ ‎1
‎Options Under Construction
VARIABLES
‎Set variable ‎itemNumber ‎to ‎Calculation Result
SCRIPTING
‎Ask ‎Price paid for item # ‎itemNumber ‎:
Input Type
‎Number
Default Answer
‎0
VARIABLES
‎Add ‎Ask for Input ‎to ‎itemPrices
SCRIPTING
‎End Repeat
SCRIPTING
‎End If
VARIABLES
‎Get ‎itemPrices
MATHS
‎Calculate the ‎Sum ‎of ‎itemPrices
VARIABLES
‎Set variable ‎privatePurchases ‎to ‎Sum
MATHS
‎koopZegels ‎+ ‎privatePurchases
‎Options Under Construction
VARIABLES
‎Set variable ‎reduction ‎to ‎Calculation Result
MATHS
‎totalAmount ‎- ‎reduction
‎Options Under Construction
VARIABLES
‎Set variable ‎Refund ‎to ‎Calculation Result
LIST
SCRIPTING
‎Choose from ‎List
Prompt
‎To which account should be refunded?
Select Multiple
VARIABLES
‎Set variable ‎account ‎to ‎Selected Item
TEXT
‎Hi Mom! Please repay € ‎Refund ‎ to ‎account ‎for the #groceries. Thank you!
NULL
‎ Under Construction
SCRIPTING
‎Choose from Menu
SCRIPTING
‎Yes
CAMERA
‎Take ‎1 photo ‎photo ‎Back ‎camera
Show Camera Preview
NULL
‎ Under Construction
SCRIPTING
‎No
NOTHING
‎Nothing
SCRIPTING
‎End Menu

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 9 months ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0