diff options
Diffstat (limited to 'gsxcl')
-rwxr-xr-x | gsxcl | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -18,7 +18,7 @@ if (FALSE) { error_reporting(E_ALL|E_STRICT); } -$modes = array('warranty', 'parts', 'pending', 'repair', 'lookup', 'status', 'label'); +$modes = array( 'warranty', 'parts', 'pending', 'repair', 'lookup', 'status', 'label', 'model', 'osdispatchdetail' ); $modes_str = implode(', ', $modes); require 'gsxlib.php'; @@ -97,6 +97,12 @@ switch ($mode) case 'comptia': $result = $gsx->compTiaCodes(); break; + case 'model': + $result = $gsx->productModel( $query ); + break; + case 'osdispatchdetail': + $result = $gsx->onsiteDispatchDetail( $query ); + break; case 'label': list($order, $part) = explode(':', $query); $result = $gsx->returnLabel($order, $part); |