* Licence: Please check CodeCanyon.net for licence details. * More licence clarification available here: http://codecanyon.net/wiki/support/legal-terms/licensing-terms/ * Deploy: 9809 f200f46c2a19bb98d112f2d32a8de0c4 * Envato: 4ffca17e-861e-4921-86c3-8931978c40ca * Package Date: 2015-11-25 02:55:20 * IP Address: 67.79.165.254 */ $hours_prefix = ''; $show_split_hours = false; $task_decimal_places = module_config::c('task_amount_decimal_places', -1); if ($task_decimal_places < 0) { $task_decimal_places = false; // use default currency dec places. } $task_decimal_places_trim = module_config::c('task_amount_decimal_places_trim', 0); if (module_job::job_task_has_split_hours($job_id, $job, $task_id, $task_data)) { if ($task_data['staff_split']) { // has saved this task - using database detauls } else { // use defaults above. $task_data['staff_hours'] = $task_data['hours']; $task_data['staff_amount'] = $task_data['amount']; } if (module_job::can_i('view', 'Job Split Pricing')) { $show_split_hours = true; // do we show the staff_ settings or default them to the job settings? } else { $hours_prefix = 'staff_'; } } ?>