diff options
author | Filipp Lepalaan <f@230.to> | 2013-07-12 12:09:50 +0300 |
---|---|---|
committer | Filipp Lepalaan <f@230.to> | 2013-07-12 12:09:50 +0300 |
commit | 5747faa7861502641ae86415c7c5af35bb92209c (patch) | |
tree | 2883777bbc5738e7c0d9a3a6f5fec411ae4ae358 /gsxcl | |
parent | 0769422c15da1df36951fbdab5338ef6d0ab3f55 (diff) | |
download | gsxlib-5747faa7861502641ae86415c7c5af35bb92209c.tar.gz gsxlib-5747faa7861502641ae86415c7c5af35bb92209c.tar.bz2 gsxlib-5747faa7861502641ae86415c7c5af35bb92209c.zip |
Allow array as argument to repairDetails()
Diffstat (limited to 'gsxcl')
-rwxr-xr-x | gsxcl | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -116,10 +116,10 @@ switch( $noun ) { $result = $gsx->repairLookup( $data ); break; case 'details': - $result = $gsx->partsPendingReturn( $data ); + $result = $gsx->repairDetails( $data ); break; case 'status': - $result = $gsx->repairStatus( $query ); + $result = $gsx->repairStatus( $data ); break; case 'create': $json = file_get_contents( $opts['d'] ); @@ -129,13 +129,13 @@ switch( $noun ) { } case 'model': - $result = $gsx->productModel( $query ); + $result = $gsx->productModel( $data ); break; case 'osdispatchdetail': - $result = $gsx->onsiteDispatchDetail( $query ); + $result = $gsx->onsiteDispatchDetail( $data ); break; case 'label': - list($order, $part) = explode( ':', $query ); + list($order, $part) = explode( ':', $data ); $result = $gsx->returnLabel( $order, $part ); $name = $result->returnLabelFileName; echo $result->returnLabelFileData; |