コード例 #1
0
ファイル: table_helper.php プロジェクト: gocanto/gocanto-pos
function get_services_manage_table_data_rows($services, $controller)
{
    $CI =& get_instance();
    $table_data_rows = '';
    foreach ($services as $service) {
        $table_data_rows .= get_service_data_row($service, $controller);
    }
    if (count($services) == 0) {
        $table_data_rows .= "<tr><td colspan='11'><div class='warning_message' style='padding:7px;'>" . $CI->lang->line('services_no_services_to_display') . '</div></tr></tr>';
    }
    return $table_data_rows;
}
コード例 #2
0
ファイル: services.php プロジェクト: gocanto/gocanto-pos
 public function get_row()
 {
     $service_id = $this->input->post('row_id');
     $data_row = get_service_data_row($this->Service->get_info($service_id), $this);
     echo $data_row;
 }