#include "FormPayment.h"
#include "ui_FormPayment.h"

#include "LanguageManager.h"

FormPayment::FormPayment(BaseWidget *parent)
    : BaseWidget(parent)
    , ui(new Ui::FormPayment)
{
    ui->setupUi(this);

    connect(LanguageManager::instance(), &LanguageManager::languageChanged, this, [this]() { ui->retranslateUi(this); });
}

FormPayment::~FormPayment()
{
    delete ui;
}

bool FormPayment::returnParent()
{
    return true;
}
