|
@@ -212,19 +212,19 @@ if $ARGS[0] = 'disp_evt':
|
|
|
job_idx = 0
|
|
|
*nl
|
|
|
:jmp_list_create
|
|
|
- if evt_silent[job_idx] = 1:
|
|
|
+ !!if evt_silent[job_idx] = 1:
|
|
|
$evtbody += '<tr><td>' +$week[evt_dow[job_idx]]+' '+ evt_day[job_idx] + $evt_suffix + ', '+ $monthName[evt_month[job_idx]] +' 20'+ evt_year[job_idx] + '</td><td>' + $evt_job[evt_event[job_idx]] + '</td>'
|
|
|
$evtbody += '<td>' + evt_wages[job_idx] + '₽</td><td>' + evt_hour[job_idx] + ':' + iif(evt_minutes[job_idx] >= 0 and evt_minutes[job_idx] <= 4, '00', '30') + '</td>'
|
|
|
$evtbody += '<td>' + evt_duration[job_idx] + iif(evt_duration[job_idx] = 1, ' hour', ' hours') + '</td><td>' + $evt_mc_locat[job_idx] + '</td>'
|
|
|
$evtbody += '<td><a href="exec: gs ''emp_functions'',''del_evt'', 2, <<job_idx>>"><img src="images\system\icons\evt_del.png"></a></a></td></tr>'
|
|
|
- end
|
|
|
+ !!end
|
|
|
job_idx += 1
|
|
|
if job_idx < arrsize('evt_event') : jump 'jmp_list_create'
|
|
|
- if evt_silent[job_idx] = 1:
|
|
|
+ !!if evt_silent[job_idx] = 1:
|
|
|
'<center><h2>Current Task List</h2></center>'
|
|
|
$evtheader = '<tr><th>Date</th><th>Task</th><th>Pay</th><th>Time</th><th>Duration</th><th>Location</th><th>Cancel Job</th></tr>'
|
|
|
'<center><table width="90%" align="center" width="90%" cellspacing="5" cellpadding="5" valign="top"><tr><<$evtheader>><<$evtbody>></tr></table></center>'
|
|
|
- end
|
|
|
+ !!end
|
|
|
killvar '$evtbody'
|
|
|
killvar '$evtheader'
|
|
|
else
|