set template for link orders
This commit is contained in:
@@ -39,7 +39,7 @@ class dolibarrApi
|
||||
$qty = $qty + intval($line['qty']);
|
||||
}
|
||||
$order['total_qty'] = $qty;
|
||||
array_push( $tbcontent, $order);
|
||||
array_push($tbcontent, $order);
|
||||
}
|
||||
return $tbcontent;
|
||||
}
|
||||
@@ -65,11 +65,11 @@ class dolibarrApi
|
||||
$order['total_qty'] = $qty;
|
||||
return $order;
|
||||
}
|
||||
|
||||
public function getPropals() {
|
||||
|
||||
$start=new \Datetime();
|
||||
$start->sub(new \DateInterval('P6M'));
|
||||
|
||||
|
||||
$response = $this->client->request('GET',$this->doliuri."/api/index.php/proposals?sortfield=t.rowid&sortorder=DESC&limit=100&sqlfilters=(t.datec%3A%3E%3A'".$start->format("Ymd")."')");
|
||||
|
||||
|
Reference in New Issue
Block a user