|
|
@@ -148,7 +148,7 @@ class OrderController extends BaseController
|
|
|
|
|
|
|
|
|
if ($debt == OrderClass::DEBT_NO) {
|
|
|
- if (isset($post['sendType']) && $post['sendType'] != OrderClass::SEND_TYPE_NO) {
|
|
|
+ if (isset($post['sendType']) && $post['sendType'] == OrderClass::SEND_TYPE_NO) {
|
|
|
$shopAdmin = $this->shopAdmin;
|
|
|
if (isset($shopAdmin->super) == false || $shopAdmin->super != 1) {
|
|
|
util::fail('只能开欠款单');
|