Browse Source

[fixed] Typos found by analyser

Kevin_Smarts 1 year ago
parent
commit
e9bc36b71e
2 changed files with 4 additions and 4 deletions
  1. 3 3
      locations/emp_functions.qsrc
  2. 1 1
      locations/salon.qsrc

+ 3 - 3
locations/emp_functions.qsrc

@@ -164,7 +164,7 @@ if $ARGS[0] = 'job_info':
 	$msg_body +=  '<p>Job Title: ' + $emp_job_title[j_id] + '</p>'
 	$msg_body += '<p>Location: ' + $emp_job_loc[j_id] + '</p>'
 	$msg_body += '<p>Notes: ' + $emp_job_notes[j_id]+ '</p>'
-	$msg_body += '<p>Wages: ' + func(''agentned'', ''format_price_string'', emp_job_wages[j_id]) + '<b>₽</b></p>'
+	$msg_body += '<p>Wages: ' + func('agentned', 'format_price_string', emp_job_wages[j_id]) + '<b>₽</b></p>'
 	
 	msg '<<$msg_body>>'
 end
@@ -192,7 +192,7 @@ if $ARGS[0] = 'disp_evt':
 		*nl
 		'Event Scheduled for: ' + transient_evt_day + $evt_suffix + ', '+ $monthName[transient_evt_month] +' '+ '20' + transient_evt_year
 		'Job: ' + $evt_job[transient_evt_type]  			
-		'Pay: ' + func(''agentned'', ''format_price_string'', transient_evt_wages)
+		'Pay: ' + func('agentned', 'format_price_string', transient_evt_wages)
 		'Time: ' + transient_evt_hour + ':' +  iif(transient_evt_minutes  >= 0 and transient_evt_minutes <= 4, '00',  '30')
 		'Duration: ' + transient_evt_duration  + iif(transient_evt_duration  = 1, ' hour',  ' hours')
 		'Location reminder: ' + $transient_mc_locat
@@ -214,7 +214,7 @@ if $ARGS[0] = 'disp_evt':
 			:jmp_list_create
 				!!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>' + func(''agentned'', ''format_price_string'', 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>' + func('agentned', 'format_price_string', 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

+ 1 - 1
locations/salon.qsrc

@@ -1477,7 +1477,7 @@ if $ARGS[0] = 'hair_removal':
     if pcs_pubes > 2:		
 		'Get your pubic area waxed <a href="exec: $epayments[''loc_arg''] = ''waxpubic'' & epayments[''value''] = <<partialservice>> & gs ''shortgs'', ''payments''  "><<partialservice>><b> ₽</b></a> '
     end
-    if pcs_pubes > 2 and pcs_leghair > 2V:
+    if pcs_pubes > 2 and pcs_leghair > 2:
 		'Get your your body waxed <a href="exec:  $epayments[''loc_arg''] = ''waxbody'' & epayments[''value''] = <<fullservice>> & gs ''shortgs'', ''payments''"><<fullservice>><b> ₽</b></a> '  
     end