App\Ninja\Repositories\PaymentRepository::restore PHP Méthode

restore() public méthode

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