|
|
|
@@ -141,7 +141,10 @@ class ReceiptIssuingOrderRepository extends BaseRepository |
|
|
|
} |
|
|
|
|
|
|
|
// 領収証番号 |
|
|
|
$this->where($table, $condition, static::CONDITION_RECEIPT_NO, $this->makeColumnName([static::TABLE_ORDER, ReceiptIssuingOrder::COL_NAME_RECEIPT_NO])); |
|
|
|
$receiptNo = data_get($condition, static::CONDITION_RECEIPT_NO); |
|
|
|
if ($receiptNo) { |
|
|
|
$table->where($this->makeColumnName([static::TABLE_ORDER, ReceiptIssuingOrder::COL_NAME_RECEIPT_NO]), 'like', "%{$receiptNo}%"); |
|
|
|
} |
|
|
|
|
|
|
|
// 確定済み |
|
|
|
$isConfirmed = data_get($condition, static::CONDITION_IS_CONFIRMED); |
|
|
|
|