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
NOTHING
Nothing
Otherwise
NUMBER
0
VARIABLES
Set variable
itemNumber
to
Number
SCRIPTING
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
End Repeat
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
my private account
my savings account
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!
Under Construction
SCRIPTING
Choose from Menu
Yes
CAMERA
Take
1 photo
photo
Back
camera
Show Camera Preview
Under Construction
No
NOTHING
Nothing
End Menu

Showcuts

Magic Vars

Screenshot

Submitted Anonymously 18 days ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

0