|
@@ -51,15 +51,15 @@ if $ARGS[0] = 'start':
|
|
!! First Sunday Shift
|
|
!! First Sunday Shift
|
|
*P '<tr><td>'
|
|
*P '<tr><td>'
|
|
if masseuse['7_shift_1'] = 0 and masseuse['7_shift_1_taken'] < 2 and no (week = 7 and hour > 8 and hour < 13):
|
|
if masseuse['7_shift_1'] = 0 and masseuse['7_shift_1_taken'] < 2 and no (week = 7 and hour > 8 and hour < 13):
|
|
- '<a href="exec:masseuse[''7_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''7_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['7_shift_1_taken'] = 2 or (week = 7 and hour > 8 and hour < 13):
|
|
elseif masseuse['7_shift_1_taken'] = 2 or (week = 7 and hour > 8 and hour < 13):
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['7_shift_1'] = 2:
|
|
elseif masseuse['7_shift_1'] = 2:
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''7_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''7_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -67,15 +67,15 @@ if $ARGS[0] = 'start':
|
|
!! First Monday Shift
|
|
!! First Monday Shift
|
|
|
|
|
|
if masseuse['1_shift_1'] = 0 and masseuse['1_shift_1_taken'] < 2 and no (week = 1 and hour > 8 and hour < 13):
|
|
if masseuse['1_shift_1'] = 0 and masseuse['1_shift_1_taken'] < 2 and no (week = 1 and hour > 8 and hour < 13):
|
|
- '<a href="exec:masseuse[''1_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''1_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['1_shift_1_taken'] = 2 or (week = 1 and hour > 8 and hour < 13):
|
|
elseif masseuse['1_shift_1_taken'] = 2 or (week = 1 and hour > 8 and hour < 13):
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['1_shift_1'] = 2:
|
|
elseif masseuse['1_shift_1'] = 2:
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''1_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''1_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -83,15 +83,15 @@ if $ARGS[0] = 'start':
|
|
!! First Tuesday Shift
|
|
!! First Tuesday Shift
|
|
|
|
|
|
if masseuse['2_shift_1'] = 0 and masseuse['2_shift_1_taken'] < 2 and no (week = 2 and hour > 8 and hour < 13):
|
|
if masseuse['2_shift_1'] = 0 and masseuse['2_shift_1_taken'] < 2 and no (week = 2 and hour > 8 and hour < 13):
|
|
- '<a href="exec:masseuse[''2_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''2_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['2_shift_1_taken'] = 2 or (week = 2 and hour > 8 and hour < 13):
|
|
elseif masseuse['2_shift_1_taken'] = 2 or (week = 2 and hour > 8 and hour < 13):
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['2_shift_1'] = 2:
|
|
elseif masseuse['2_shift_1'] = 2:
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''2_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''2_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -99,15 +99,15 @@ if $ARGS[0] = 'start':
|
|
!! First Wednesday Shift
|
|
!! First Wednesday Shift
|
|
|
|
|
|
if masseuse['3_shift_1'] = 0 and masseuse['3_shift_1_taken'] < 2 and no (week = 3 and hour > 8 and hour < 13):
|
|
if masseuse['3_shift_1'] = 0 and masseuse['3_shift_1_taken'] < 2 and no (week = 3 and hour > 8 and hour < 13):
|
|
- '<a href="exec:masseuse[''3_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''3_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['3_shift_1_taken'] = 2 or (week = 3 and hour > 8 and hour < 13):
|
|
elseif masseuse['3_shift_1_taken'] = 2 or (week = 3 and hour > 8 and hour < 13):
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['3_shift_1'] = 2:
|
|
elseif masseuse['3_shift_1'] = 2:
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''3_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''3_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -115,15 +115,15 @@ if $ARGS[0] = 'start':
|
|
!! First Thursday Shift
|
|
!! First Thursday Shift
|
|
|
|
|
|
if masseuse['4_shift_1'] = 0 and masseuse['4_shift_1_taken'] < 2 and no (week = 4 and hour > 8 and hour < 13):
|
|
if masseuse['4_shift_1'] = 0 and masseuse['4_shift_1_taken'] < 2 and no (week = 4 and hour > 8 and hour < 13):
|
|
- '<a href="exec:masseuse[''4_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''4_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['4_shift_1_taken'] = 2 or (week = 4 and hour > 8 and hour < 13):
|
|
elseif masseuse['4_shift_1_taken'] = 2 or (week = 4 and hour > 8 and hour < 13):
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['4_shift_1'] = 2:
|
|
elseif masseuse['4_shift_1'] = 2:
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''4_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''4_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -131,15 +131,15 @@ if $ARGS[0] = 'start':
|
|
!! First Friday Shift
|
|
!! First Friday Shift
|
|
|
|
|
|
if masseuse['5_shift_1'] = 0 and masseuse['5_shift_1_taken'] < 2 and no (week = 5 and hour > 8 and hour < 13):
|
|
if masseuse['5_shift_1'] = 0 and masseuse['5_shift_1_taken'] < 2 and no (week = 5 and hour > 8 and hour < 13):
|
|
- '<a href="exec:masseuse[''5_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''5_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['5_shift_1_taken'] = 2 or (week = 5 and hour > 8 and hour < 13):
|
|
elseif masseuse['5_shift_1_taken'] = 2 or (week = 5 and hour > 8 and hour < 13):
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['5_shift_1'] = 2:
|
|
elseif masseuse['5_shift_1'] = 2:
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''5_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''5_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -147,15 +147,15 @@ if $ARGS[0] = 'start':
|
|
!! First Saturday Shift
|
|
!! First Saturday Shift
|
|
|
|
|
|
if masseuse['6_shift_1'] = 0 and masseuse['6_shift_1_taken'] < 2 and no (week = 6 and hour > 8 and hour < 13):
|
|
if masseuse['6_shift_1'] = 0 and masseuse['6_shift_1_taken'] < 2 and no (week = 6 and hour > 8 and hour < 13):
|
|
- '<a href="exec:masseuse[''6_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> 09:00-13:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''6_shift_1''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['6_shift_1_taken'] = 2 or (week = 6 and hour > 8 and hour < 13):
|
|
elseif masseuse['6_shift_1_taken'] = 2 or (week = 6 and hour > 8 and hour < 13):
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['6_shift_1'] = 2:
|
|
elseif masseuse['6_shift_1'] = 2:
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '09:00-13:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 9, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''6_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''6_shift_1''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td></tr>'
|
|
'</td></tr>'
|
|
@@ -166,15 +166,15 @@ if $ARGS[0] = 'start':
|
|
!! Second Sunday Shift
|
|
!! Second Sunday Shift
|
|
*P '<tr><td>'
|
|
*P '<tr><td>'
|
|
if masseuse['7_shift_2'] = 0 and masseuse['7_shift_2_taken'] < 2 and no (week = 7 and hour > 12 and hour < 17):
|
|
if masseuse['7_shift_2'] = 0 and masseuse['7_shift_2_taken'] < 2 and no (week = 7 and hour > 12 and hour < 17):
|
|
- '<a href="exec:masseuse[''7_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''7_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['7_shift_2_taken'] = 2 or (week = 7 and hour > 12 and hour < 17):
|
|
elseif masseuse['7_shift_2_taken'] = 2 or (week = 7 and hour > 12 and hour < 17):
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['7_shift_2'] = 2:
|
|
elseif masseuse['7_shift_2'] = 2:
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''7_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''7_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -182,15 +182,15 @@ if $ARGS[0] = 'start':
|
|
!! Second Monday Shift
|
|
!! Second Monday Shift
|
|
|
|
|
|
if masseuse['1_shift_2'] = 0 and masseuse['1_shift_2_taken'] < 2 and no (week = 1 and hour > 12 and hour < 17):
|
|
if masseuse['1_shift_2'] = 0 and masseuse['1_shift_2_taken'] < 2 and no (week = 1 and hour > 12 and hour < 17):
|
|
- '<a href="exec:masseuse[''1_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''1_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['1_shift_2_taken'] = 2 or (week = 1 and hour > 12 and hour < 17):
|
|
elseif masseuse['1_shift_2_taken'] = 2 or (week = 1 and hour > 12 and hour < 17):
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['1_shift_2'] = 2:
|
|
elseif masseuse['1_shift_2'] = 2:
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''1_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''1_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -198,15 +198,15 @@ if $ARGS[0] = 'start':
|
|
!! Second Tuesday Shift
|
|
!! Second Tuesday Shift
|
|
|
|
|
|
if masseuse['2_shift_2'] = 0 and masseuse['2_shift_2_taken'] < 2 and no (week = 2 and hour > 12 and hour < 17):
|
|
if masseuse['2_shift_2'] = 0 and masseuse['2_shift_2_taken'] < 2 and no (week = 2 and hour > 12 and hour < 17):
|
|
- '<a href="exec:masseuse[''2_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''2_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['2_shift_2_taken'] = 2 or (week = 2 and hour > 12 and hour < 17):
|
|
elseif masseuse['2_shift_2_taken'] = 2 or (week = 2 and hour > 12 and hour < 17):
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['2_shift_2'] = 2:
|
|
elseif masseuse['2_shift_2'] = 2:
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''2_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''2_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -214,15 +214,15 @@ if $ARGS[0] = 'start':
|
|
!! Second Wednesday Shift
|
|
!! Second Wednesday Shift
|
|
|
|
|
|
if masseuse['3_shift_2'] = 0 and masseuse['3_shift_2_taken'] < 2 and no (week = 3 and hour > 12 and hour < 17):
|
|
if masseuse['3_shift_2'] = 0 and masseuse['3_shift_2_taken'] < 2 and no (week = 3 and hour > 12 and hour < 17):
|
|
- '<a href="exec:masseuse[''3_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''3_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['3_shift_2_taken'] = 2 or (week = 3 and hour > 12 and hour < 17):
|
|
elseif masseuse['3_shift_2_taken'] = 2 or (week = 3 and hour > 12 and hour < 17):
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['3_shift_2'] = 2:
|
|
elseif masseuse['3_shift_2'] = 2:
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''3_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''3_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -230,15 +230,15 @@ if $ARGS[0] = 'start':
|
|
!! Second Thursday Shift
|
|
!! Second Thursday Shift
|
|
|
|
|
|
if masseuse['4_shift_2'] = 0 and masseuse['4_shift_2_taken'] < 2 and no (week = 4 and hour > 12 and hour < 17):
|
|
if masseuse['4_shift_2'] = 0 and masseuse['4_shift_2_taken'] < 2 and no (week = 4 and hour > 12 and hour < 17):
|
|
- '<a href="exec:masseuse[''4_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''4_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['4_shift_2_taken'] = 2 or (week = 4 and hour > 12 and hour < 17):
|
|
elseif masseuse['4_shift_2_taken'] = 2 or (week = 4 and hour > 12 and hour < 17):
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['4_shift_2'] = 2:
|
|
elseif masseuse['4_shift_2'] = 2:
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''4_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''4_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -246,15 +246,15 @@ if $ARGS[0] = 'start':
|
|
!! Second Friday Shift
|
|
!! Second Friday Shift
|
|
|
|
|
|
if masseuse['5_shift_2'] = 0 and masseuse['5_shift_2_taken'] < 2 and no (week = 5 and hour > 12 and hour < 17):
|
|
if masseuse['5_shift_2'] = 0 and masseuse['5_shift_2_taken'] < 2 and no (week = 5 and hour > 12 and hour < 17):
|
|
- '<a href="exec:masseuse[''5_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''5_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['5_shift_2_taken'] = 2 or (week = 5 and hour > 12 and hour < 17):
|
|
elseif masseuse['5_shift_2_taken'] = 2 or (week = 5 and hour > 12 and hour < 17):
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['5_shift_2'] = 2:
|
|
elseif masseuse['5_shift_2'] = 2:
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''5_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''5_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -262,15 +262,15 @@ if $ARGS[0] = 'start':
|
|
!! Second Saturday Shift
|
|
!! Second Saturday Shift
|
|
|
|
|
|
if masseuse['6_shift_2'] = 0 and masseuse['6_shift_2_taken'] < 2 and no (week = 6 and hour > 12 and hour < 17):
|
|
if masseuse['6_shift_2'] = 0 and masseuse['6_shift_2_taken'] < 2 and no (week = 6 and hour > 12 and hour < 17):
|
|
- '<a href="exec:masseuse[''6_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> 13:00-17:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''6_shift_2''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['6_shift_2_taken'] = 2 or (week = 6 and hour > 12 and hour < 17):
|
|
elseif masseuse['6_shift_2_taken'] = 2 or (week = 6 and hour > 12 and hour < 17):
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['6_shift_2'] = 2:
|
|
elseif masseuse['6_shift_2'] = 2:
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '13:00-17:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 13, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''6_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''6_shift_2''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td></tr>'
|
|
'</td></tr>'
|
|
@@ -281,15 +281,15 @@ if $ARGS[0] = 'start':
|
|
!! Third Sunday Shift
|
|
!! Third Sunday Shift
|
|
*P '<tr><td>'
|
|
*P '<tr><td>'
|
|
if masseuse['7_shift_3'] = 0 and masseuse['7_shift_3_taken'] < 2 and no (week = 7 and hour > 16 and hour < 21):
|
|
if masseuse['7_shift_3'] = 0 and masseuse['7_shift_3_taken'] < 2 and no (week = 7 and hour > 16 and hour < 21):
|
|
- '<a href="exec:masseuse[''7_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''7_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['7_shift_3_taken'] = 2 or (week = 7 and hour > 16 and hour < 21):
|
|
elseif masseuse['7_shift_3_taken'] = 2 or (week = 7 and hour > 16 and hour < 21):
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['7_shift_3'] = 2:
|
|
elseif masseuse['7_shift_3'] = 2:
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''7_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''7_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -297,15 +297,15 @@ if $ARGS[0] = 'start':
|
|
!! Third Monday Shift
|
|
!! Third Monday Shift
|
|
|
|
|
|
if masseuse['1_shift_3'] = 0 and masseuse['1_shift_3_taken'] < 2 and no (week = 1 and hour > 16 and hour < 21):
|
|
if masseuse['1_shift_3'] = 0 and masseuse['1_shift_3_taken'] < 2 and no (week = 1 and hour > 16 and hour < 21):
|
|
- '<a href="exec:masseuse[''1_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''1_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['1_shift_3_taken'] = 2 or (week = 1 and hour > 16 and hour < 21):
|
|
elseif masseuse['1_shift_3_taken'] = 2 or (week = 1 and hour > 16 and hour < 21):
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['1_shift_3'] = 2:
|
|
elseif masseuse['1_shift_3'] = 2:
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''1_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''1_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -313,15 +313,15 @@ if $ARGS[0] = 'start':
|
|
!! Third Tuesday Shift
|
|
!! Third Tuesday Shift
|
|
|
|
|
|
if masseuse['2_shift_3'] = 0 and masseuse['2_shift_3_taken'] < 2 and no (week = 2 and hour > 16 and hour < 21):
|
|
if masseuse['2_shift_3'] = 0 and masseuse['2_shift_3_taken'] < 2 and no (week = 2 and hour > 16 and hour < 21):
|
|
- '<a href="exec:masseuse[''2_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''2_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['2_shift_3_taken'] = 2 or (week = 2 and hour > 16 and hour < 21):
|
|
elseif masseuse['2_shift_3_taken'] = 2 or (week = 2 and hour > 16 and hour < 21):
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['2_shift_3'] = 2:
|
|
elseif masseuse['2_shift_3'] = 2:
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''2_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''2_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -329,15 +329,15 @@ if $ARGS[0] = 'start':
|
|
!! Third Wednesday Shift
|
|
!! Third Wednesday Shift
|
|
|
|
|
|
if masseuse['3_shift_3'] = 0 and masseuse['3_shift_3_taken'] < 2 and no (week = 3 and hour > 16 and hour < 21):
|
|
if masseuse['3_shift_3'] = 0 and masseuse['3_shift_3_taken'] < 2 and no (week = 3 and hour > 16 and hour < 21):
|
|
- '<a href="exec:masseuse[''3_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''3_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['3_shift_3_taken'] = 2 or (week = 3 and hour > 16 and hour < 21):
|
|
elseif masseuse['3_shift_3_taken'] = 2 or (week = 3 and hour > 16 and hour < 21):
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['3_shift_3'] = 2:
|
|
elseif masseuse['3_shift_3'] = 2:
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''3_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''3_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -345,15 +345,15 @@ if $ARGS[0] = 'start':
|
|
!! Third Thursday Shift
|
|
!! Third Thursday Shift
|
|
|
|
|
|
if masseuse['4_shift_3'] = 0 and masseuse['4_shift_3_taken'] < 2 and no (week = 4 and hour > 16 and hour < 21):
|
|
if masseuse['4_shift_3'] = 0 and masseuse['4_shift_3_taken'] < 2 and no (week = 4 and hour > 16 and hour < 21):
|
|
- '<a href="exec:masseuse[''4_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''4_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['4_shift_3_taken'] = 2 or (week = 4 and hour > 16 and hour < 21):
|
|
elseif masseuse['4_shift_3_taken'] = 2 or (week = 4 and hour > 16 and hour < 21):
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['4_shift_3'] = 2:
|
|
elseif masseuse['4_shift_3'] = 2:
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''4_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''4_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -361,15 +361,15 @@ if $ARGS[0] = 'start':
|
|
!! Third Friday Shift
|
|
!! Third Friday Shift
|
|
|
|
|
|
if masseuse['5_shift_3'] = 0 and masseuse['5_shift_3_taken'] < 2 and no (week = 5 and hour > 16 and hour < 21):
|
|
if masseuse['5_shift_3'] = 0 and masseuse['5_shift_3_taken'] < 2 and no (week = 5 and hour > 16 and hour < 21):
|
|
- '<a href="exec:masseuse[''5_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''5_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['5_shift_3_taken'] = 2 or (week = 5 and hour > 16 and hour < 21):
|
|
elseif masseuse['5_shift_3_taken'] = 2 or (week = 5 and hour > 16 and hour < 21):
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['5_shift_3'] = 2:
|
|
elseif masseuse['5_shift_3'] = 2:
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''5_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''5_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td><td>'
|
|
'</td><td>'
|
|
@@ -377,15 +377,15 @@ if $ARGS[0] = 'start':
|
|
!! Third Saturday Shift
|
|
!! Third Saturday Shift
|
|
|
|
|
|
if masseuse['6_shift_3'] = 0 and masseuse['6_shift_3_taken'] < 2 and no (week = 6 and hour > 16 and hour < 21):
|
|
if masseuse['6_shift_3'] = 0 and masseuse['6_shift_3_taken'] < 2 and no (week = 6 and hour > 16 and hour < 21):
|
|
- '<a href="exec:masseuse[''6_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> 17:00-21:00 shift</a>'
|
|
|
|
|
|
+ '<a href="exec:masseuse[''6_shift_3''] = 1 & gt''masseuse_schedule'',''start''"> '+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift</a>'
|
|
elseif masseuse['6_shift_3_taken'] = 2 or (week = 6 and hour > 16 and hour < 21):
|
|
elseif masseuse['6_shift_3_taken'] = 2 or (week = 6 and hour > 16 and hour < 21):
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>not available</i>'
|
|
'<i>not available</i>'
|
|
elseif masseuse['6_shift_3'] = 2:
|
|
elseif masseuse['6_shift_3'] = 2:
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<i>already worked</i>'
|
|
'<i>already worked</i>'
|
|
else
|
|
else
|
|
- '17:00-21:00 shift'
|
|
|
|
|
|
+ ''+func('time', 'get_time_string', 17, 0, cheatVars['time_format'])+'-'+func('time', 'get_time_string', 21, 0, cheatVars['time_format'])+' shift'
|
|
'<a href="exec:masseuse[''6_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
'<a href="exec:masseuse[''6_shift_3''] = 0 & gt''masseuse_schedule'',''start''"> Cancel Shift</a>'
|
|
end
|
|
end
|
|
'</td></tr>'
|
|
'</td></tr>'
|