1
0
forked from BRT/arc
arc/android/rshb/GetLastDaysHistoryScript.h
trnsmkot 688a71c0b2 Update transaction handling with a new history parsing script.
Replaced `PayByPhoneScript` with `GetLastDaysHistoryScript` in `main.cpp`. Introduced enhanced date/time utilities and improved database timestamp handling with `DateUtils`. Refactored `TransactionDAO` methods to separate parsing logic and added support for retrieving recent transactions within specified hours. Added the `GetLastDaysHistoryScript` class to parse and save recent transaction history.
2025-05-09 22:44:29 +07:00

23 lines
448 B
C++

#pragma once
#include "CommonScript.h"
class GetLastDaysHistoryScript final : public CommonScript {
Q_OBJECT
public:
~GetLastDaysHistoryScript() override;
explicit GetLastDaysHistoryScript(
AccountInfo account,
QObject *parent = nullptr
);
protected:
void doStart() override;
private:
const AccountInfo m_account;
bool openAndSaveDitailInfo(TransactionInfo &transaction, int width, int height);
};