Trestní oznámení edit
All checks were successful
build_test / build (push) Successful in 4m24s

This commit is contained in:
PoliEcho 2025-05-17 16:47:55 +02:00
parent 4cf408dfa1
commit e92069c8db
2 changed files with 48 additions and 62 deletions

View File

@ -212,36 +212,26 @@ std::vector<allocation> editor_easy_allocated;
char date_str[100]; char date_str[100];
std::strftime(date_str, sizeof(date_str), "%d.%m.%Y", now); std::strftime(date_str, sizeof(date_str), "%d.%m.%Y", now);
auto name_thing_args = std::make_format_args(field_values[7]); auto comp_args =
const std::string name_thing = std::make_format_args(field_values[0], // Jméno a příjmení odesílatele
field_values[7].empty() field_values[1], // Adresa odesílatele
? loc_strings->call_to_stop_illegal_activity field_values[2], // Telefon odesílatele
: std::vformat(loc_strings->call_to_stop_illegal_activity_with_name, field_values[3], // Email odesílatele
name_thing_args);
auto comp_args = std::make_format_args( field_values[7], // Jméno a příjmení adresáta
field_values[4], // Místo field_values[10], // Adresa adresáta
date_str, // Aktuální datum field_values[11], // Telefon adresáta
field_values[7], // Jméno a příjmení adresáta field_values[12], // Email adresáta
field_values[10], // Adresa adresáta (přidejte do pole)
field_values[11], // Telefon adresáta (přidejte do pole)
field_values[12], // Email adresáta (přidejte do pole)
// Odesílatel date_str, // Aktuální datum
field_values[0], // Jméno a příjmení odesílatele field_values[4], // Místo činu
field_values[1], // Adresa odesílatele field_values[5], // Datum činu
field_values[2], // Telefon odesílatele
field_values[3], // Email odesílatele
name_thing, field_values[6], // Popis činu
field_values[8], // Důkazy
field_values[5], // Datum činu field_values[9], // Další informace
field_values[4], // Místo činu field_values[0] // Jméno pro podpis
field_values[6], // Popis činu );
field_values[8], // Důkazy
field_values[9], // Další informace
field_values[0] // Jméno pro podpis
);
std::string complaint = std::string complaint =
std::vformat(loc_strings->criminal_complaint_template, comp_args); std::vformat(loc_strings->criminal_complaint_template, comp_args);

View File

@ -36,33 +36,32 @@ To:
Police of the Czech Republic Police of the Czech Republic
Complainant: Complainant:
Name and Surname: {} Name and Surname: {0}
Address: {} Address: {1}
Phone: {} Phone: {2}
E-mail: {} E-mail: {3}
Accused: Accused:
Name and Surname: {} Name and Surname: {4}
Address: {} Address: {5}
Phone: {} Phone: {6}
E-mail: {} E-mail: {7}
Subject: Subject:
suspicion of committing a criminal offence suspicion of committing a criminal offence
Place of submission of the complaint: {} Date of submission of the complaint: {8}
Date of submission of the complaint: {}
On {} at {} {}. On {9} at {10}.
Factual circumstances: Factual circumstances:
{} {11}
Evidence: Evidence:
{} {12}
Additional information: Additional information:
{} {13}
I request the Police of the Czech Republic to: I request the Police of the Czech Republic to:
@ -72,9 +71,7 @@ I request the Police of the Czech Republic to:
submit a proposal to the public prosecutor. submit a proposal to the public prosecutor.
In {} Signature of the complainant: {0}
Signature of the complainant: {}
*This is not a legal document, but only a template for informational purposes. For legal advice, please consult a qualified attorney.* *This is not a legal document, but only a template for informational purposes. For legal advice, please consult a qualified attorney.*
)"}; )"};
@ -114,42 +111,41 @@ Komu:
Policie ČR Policie ČR
Oznamovatel: Oznamovatel:
Jméno a příjmení: {} Jméno a příjmení: {0}
Adresa: {} Adresa: {1}
Telefon: {} Telefon: {2}
E-mail: {} E-mail: {3}
Obviněný: Obviněný:
Jméno a příjmení: {} Jméno a příjmení: {4}
Adresa: {} Adresa: {5}
Telefon: {} Telefon: {6}
E-mail: {} E-mail: {7}
Věc: Věc:
podezření ze spáchání trestného činu podezření ze spáchání trestného činu
Místo podání oznámení: {} Datum podání oznámení: {8}
Datum podání oznámení: {}
Dne {} v místě {} {}. Dne {9} v místě {10}.
1. Skutkové okolnosti: 1. Skutkové okolnosti:
{} {11}
2. Důkazy: 2. Důkazy:
{} {12}
3. Další informace: 3. Další informace:
{} {13}
Žádám Policii ČR: Žádám Policii ČR:
- přijmout veškerá opatření k objasnění a prošetření věci, - přijmout veškerá opatření k objasnění a prošetření věci,
- vyslechnout svědky a zajistit důkazní materiály, - vyslechnout svědky a zajistit důkazní materiály,
- podat podnět státnímu zástupci. - podat podnět státnímu zástupci.
V {}
Podpis oznamovatele: {}
Podpis oznamovatele: {0}
*Toto není právní dokument, ale pouze vzor pro informativní účely. Pro právní poradenství se obraťte na kvalifikovaného právníka.* *Toto není právní dokument, ale pouze vzor pro informativní účely. Pro právní poradenství se obraťte na kvalifikovaného právníka.*
)"}; )"};