mobile_api_commande

🔧 TS_NOOA_mobile_liste_commandes

Retourne la liste des commandes filtrées selon l'user connecté
function TS_NOOA_mobile_liste_commandes($id_type_commande, $id_type_client, $id_type_devis) { global $_POST; global $global_api_retour; global $srv; $id_user = $_POST['userID']; $search = $_POST['search']; $offset = $_POST['offset']; $statuts = $_POST['statuts']; $listStatus = implode(",", $statuts); // On cherche les user de la franchise pour avoir seulement les commandes de la franchise $userInfo = get_UserIdentification($id_user, '', $id_type_commande, ''); // ... (truncated)

↩️ Returns

(array)

⚠️ Throws


🔧 TS_NOOA_mobile_single_commande

Retourne la commande
function TS_NOOA_mobile_single_commande($id_type_commande, $id_type_client, $id_type_devis) { global $_POST; global $global_api_retour; global $id_type; global $id_obje; global $user; global $srv; global $navi_session; $id_type = $id_type_commande; $id_obje = $_POST['commandeID']; // ... (truncated)

↩️ Returns

(array)

⚠️ Throws


🔧 TS_NOOA_mobile_modify_commande

Retourne la commande mise à jour
function TS_NOOA_mobile_modify_commande($id_type_commande, $id_type_client, $id_type_devis) { global $_POST; global $global_api_retour; global $id_type; global $id_obje; global $user; global $srv; global $navi_session; $id_type = $id_type_commande; $id_obje = $_POST['commandeID']; // ... (truncated)

↩️ Returns

(array)

⚠️ Throws