App\Ninja\Repositories\PaymentRepository::restore PHP Method

restore() public method

public restore ( $payment )
    public function restore($payment)
    {
        if ($payment->invoice->is_deleted) {
            return false;
        }
        parent::restore($payment);
    }