Add ContractForm, Add contract pdf, Add Display all Transfer option
This commit is contained in:
@@ -99,8 +99,12 @@ class UserSoldItem extends \yii\db\ActiveRecord
|
||||
|
||||
if ( isset($account)){
|
||||
$sql .= " , id_account = " . $account;
|
||||
}else if ( Helper::isUserCartVisibilityAll() ){
|
||||
$sql .= " , id_account = " . Account::readDefault();
|
||||
}
|
||||
|
||||
|
||||
|
||||
$sql .= " WHERE t.status = " . Transfer::STATUS_NOT_PAID;
|
||||
|
||||
//we can see all transfer in cart, or just our
|
||||
|
||||
Reference in New Issue
Block a user