patrick пре 6 година
родитељ
комит
2e3d424911
2 измењених фајлова са 2 додато и 2 уклоњено
  1. +1
    -1
      Apiv1.php
  2. +1
    -1
      js/bts_office.js

+ 1
- 1
Apiv1.php Прегледај датотеку

); );
$sql = "SELECT * FROM $this->job_table WHERE start>='%s' and start <='%s' order by start ASC ,staff ASC"; $sql = "SELECT * FROM $this->job_table WHERE start>='%s' and start <='%s' order by start ASC ,staff ASC";
$sql = "SELECT * FROM $this->job_table order by start ASC ,staff ASC";
//$sql = "SELECT * FROM $this->job_table order by start ASC ,staff ASC";
$query = $wpdb->prepare ($sql, array($start, $finish)); $query = $wpdb->prepare ($sql, array($start, $finish));
$response['sql'] = $query; $response['sql'] = $query;
$jobs = $wpdb->get_results($query); $jobs = $wpdb->get_results($query);

+ 1
- 1
js/bts_office.js Прегледај датотеку

}); });
$('div.weekly div.weekname.prev').click(function(){ $('div.weekly div.weekname.prev').click(function(){
if (!confirm ('copy entire week to next week? '))
if (!confirm ('copy entire week to next week?'))
return; return;
var jobs = []; var jobs = [];
$('div.week1 >div').each(function(i,e){ $('div.week1 >div').each(function(i,e){

Loading…
Откажи
Сачувај