|
@@ -38,8 +38,8 @@ if $ARGS[0] = 'start':
|
|
*nl
|
|
*nl
|
|
'Sportswear is required for all available classes.'
|
|
'Sportswear is required for all available classes.'
|
|
|
|
|
|
- act 'Leave': minut += 5 & gt 'city_center'
|
|
|
|
-
|
|
|
|
|
|
+ act 'Leave': killvar 'epayments' & minut += 5 & gt 'city_center'
|
|
|
|
+
|
|
if abonement > 0:
|
|
if abonement > 0:
|
|
act 'Go to the dressing room': gt 'fit', 'dressing room'
|
|
act 'Go to the dressing room': gt 'fit', 'dressing room'
|
|
elseif money > 100:
|
|
elseif money > 100:
|
|
@@ -50,25 +50,31 @@ if $ARGS[0] = 'start':
|
|
end
|
|
end
|
|
end
|
|
end
|
|
|
|
|
|
-!! Pay cash or card - Hooded Silence.
|
|
|
|
|
|
+ !! Pay cash or card - Hooded Silence.
|
|
|
|
|
|
*nl
|
|
*nl
|
|
if abonement = 0:
|
|
if abonement = 0:
|
|
'How long do you want to subscribe for?'
|
|
'How long do you want to subscribe for?'
|
|
else
|
|
else
|
|
'Extend your subscription:'
|
|
'Extend your subscription:'
|
|
- end
|
|
|
|
- '<center>'
|
|
|
|
- '<table width="90%" align="center" width="90%" cellspacing="0" cellpadding="0" valign="top">'
|
|
|
|
-
|
|
|
|
|
|
+ end
|
|
|
|
+
|
|
|
|
+ $epayments['method'] = ''
|
|
|
|
+ $epayments['item_variable'] = 'abonement'
|
|
|
|
+ $epayments['description'] = 'lesson subscriptions and facilities access'
|
|
|
|
+ $epayments['loc'] = 'fit'
|
|
|
|
+ $epayments['loc_arg'] = 'start'
|
|
|
|
+ $epayments['banner']= 'locations/city/citycenter/gym/desk.jpg'
|
|
|
|
+
|
|
|
|
+ '<center><table width="90%" align="center" width="90%" cellspacing="0" cellpadding="0" valign="top">'
|
|
if money >= 3000 or karta + bankDebtLimit => 3000:
|
|
if money >= 3000 or karta + bankDebtLimit => 3000:
|
|
- '<tr><td> <a href="exec: gs ''shortgs'',''payments'', 3000, '''', ''abonement'', 30, ''lesson subscriptions and facilities access'', ''fit'', ''start''">3,000<b> ₽</b> for 30 lessons</a></td>'
|
|
|
|
|
|
+ '<tr><td> <a href="exec: epayments[''value''] = 3000 & epayments[''quantity''] = 30 & gs ''shortgs'',''payments'' ">3,000<b> ₽</b> for 30 lessons</a></td>'
|
|
end
|
|
end
|
|
if money >= 2250 or karta + bankDebtLimit => 2250:
|
|
if money >= 2250 or karta + bankDebtLimit => 2250:
|
|
- '<td> <a href="exec: gs ''shortgs'',''payments'', 2250, '''', ''abonement'', 20, ''lesson subscriptions and facilities access'', ''fit'', ''start''">2,250<b> ₽</b> for 20 lessons</a></td>'
|
|
|
|
|
|
+ '<td> <a href="exec: epayments[''value''] = 2250 & epayments[''quantity''] = 20 & gs ''shortgs'',''payments'' ">2,250<b> ₽</b> for 20 lessons</a></td>'
|
|
end
|
|
end
|
|
if money >= 1500 or karta + bankDebtLimit => 1500:
|
|
if money >= 1500 or karta + bankDebtLimit => 1500:
|
|
- '<td><a href="exec: gs ''shortgs'',''payments'', 1500, '''', ''abonement'', 10, ''lesson subscriptions and facilities access'', ''fit'', ''start''">1,500<b> ₽</b> for 10 lessons</a></td>'
|
|
|
|
|
|
+ '<td><a href="exec: epayments[''value''] = 1500 & epayments[''quantity''] = 10 & gs ''shortgs'',''payments'' ">1,500<b> ₽</b> for 10 lessons</a></td>'
|
|
end
|
|
end
|
|
'</tr></table></center>'
|
|
'</tr></table></center>'
|
|
|
|
|