Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dodati check za future kontrakte nakon isteka datuma #135

Open
theShus opened this issue Apr 7, 2023 · 0 comments
Open

Dodati check za future kontrakte nakon isteka datuma #135

theShus opened this issue Apr 7, 2023 · 0 comments
Assignees
Labels
priority/low Not that important.

Comments

@theShus
Copy link
Collaborator

theShus commented Apr 7, 2023

Napraviti ThreadWorkera koji ce da ima npr while loop (true) i sleep (24h)
On ce da svaki dan prodje kroz listu future kontrakta, i za one koji su potpisani treba da proveri da li im je istekao vremenski period, tj da li je vreme koje je napisano na njemu proslo.
Ako je proslo user moze ili da pokupi proizvode (klikne dugme da) ili da odbije da ih pokupi i plati kaznu (dugme ne) u ovom slucaju ce se iz njegovog balansa oduzeti cena ugovora.

Radnik bira koja mu je opcija laksa
Opcija 1
Treba da se pomocu socketa posalje frontu request kada se user uloguje sledeci put (proverava svaki login na controlleru da li je to taj user) i ako jeste poslati frontu request da user odgovori.

Opcija 2
Isto ovo se moze uraditi ali preko maila, da se useru posalje mail sa opcijom

@theShus theShus added the priority/low Not that important. label Apr 7, 2023
@theShus theShus added this to the Kontrolna tacka 3 milestone Apr 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority/low Not that important.
Projects
None yet
Development

No branches or pull requests

2 participants