Hi Guys
I have a complex Snippet i use in PE and i need to know if this is possible in TB.
It looks like this see code below
(* 20191009 • Order tracking Version 1 with #calendar/#input - without forms
){#settemp -name ##ordered_on -content {#calendar -f ddddd -head Order placed on… -manual -locale en-GB}}(
){#settemp -name ##day_offset -content {#input -head Ordered on {#gettemp ##ordered_on} • How many delivery time in days? -def +5 -single -required}}(
delivery deadline ##du_day
){#settemp -name ##du_day -content {#datetime -f ddddd -value {#gettemp ##ordered_on} -s {#gettemp ##day_offset}w -locale en-GB}}(
Delivery time expired?
*){#check -text {#datetime -a -value {#gettemp ##du_day} -locale en-GB} -case < {#datetime -a -locale en-GB} -output Hello Guys
Please, could you get one of your Logistics Team members to chase up the shipping status for this order?
The order was placed on {#datetime -f dddd, ddddd -value {#gettemp ##ordered_on} -locale en-GB}.
The ABC website shows the shipping for this item is {#gettemp ##day_offset} business days.
This should have been delivered on {#datetime -f dddd, ddddd -value {#gettemp ##du_day} -locale en-GB}
The item is now {#datecalc -date2 {#gettemp ##du_day} -mode 3} business days late!
The item is now {#calc {#datetime -a -value {#gettemp ##du_day} -locale en-GB}-{#datetime -a -locale en-GB} -round 0} calendar days late!
I need this to update my customer and avoid cancellation of the order.(*
Delivery time not yet expired → Windows Notification
*) -else {#balloon -title Delivery time not yet expired: -text ##du_day: {#gettemp ##du_day} -onclick {#datetime -f ddd, ddddd -value {#gettemp ##du_day} -locale en-GB}}}