fixed typo
This commit is contained in:
parent
8dd1cb1037
commit
bcc28b24d4
|
|
@ -283,7 +283,7 @@ class Order extends Model implements OrderContract
|
|||
{
|
||||
$pendingInvoice = $this->invoices()->where('state', 'pending')
|
||||
->orWhere('state', 'pending_payment')
|
||||
->get();
|
||||
->first();
|
||||
|
||||
if ($pendingInvoice) {
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue