aboutsummaryrefslogtreecommitdiffstats
path: root/gsxcl
diff options
context:
space:
mode:
Diffstat (limited to 'gsxcl')
-rwxr-xr-xgsxcl8
1 files changed, 7 insertions, 1 deletions
diff --git a/gsxcl b/gsxcl
index 6902d3c..7781f53 100755
--- a/gsxcl
+++ b/gsxcl
@@ -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);