|
@@ -93,10 +93,10 @@ function __construct(){
|
|
)
|
|
)
|
|
);
|
|
);
|
|
$ordertype = 0;
|
|
$ordertype = 0;
|
|
- // if($data['printcode'] == 'FEDEX_G'){
|
|
|
|
- // $count['OrderType'] = 1;
|
|
|
|
- // $ordertype = 1;
|
|
|
|
- // }
|
|
|
|
|
|
+ if($data['printcode'] == 'FEDEX_G'){
|
|
|
|
+ $count['OrderType'] = 1;
|
|
|
|
+ $ordertype = 1;
|
|
|
|
+ }
|
|
|
|
|
|
$count = json_encode($count,true);
|
|
$count = json_encode($count,true);
|
|
|
|
|
|
@@ -156,7 +156,7 @@ function __construct(){
|
|
if($ordertype == 1){
|
|
if($ordertype == 1){
|
|
$count['OrderType'] = 1;
|
|
$count['OrderType'] = 1;
|
|
$count['PrintPaper'] = 'label';
|
|
$count['PrintPaper'] = 'label';
|
|
- $count['PrintContent']='1,3';
|
|
|
|
|
|
+ $count['PrintContent']='1';
|
|
}
|
|
}
|
|
|
|
|
|
$count = json_encode($count,true);
|
|
$count = json_encode($count,true);
|