diff options
| author | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-11 12:28:43 +0100 |
|---|---|---|
| committer | Aldrik Ramaekers <aldrik@mailbox.org> | 2026-01-11 12:28:43 +0100 |
| commit | ccbc6a8f0836583fabd59919bd7930d7cfe1473e (patch) | |
| tree | 9b40413d853ff9cce52b6d697314b6bc4ea015e4 /src/ui/ui_expenses.cpp | |
| parent | 6166eeda08fd1d4106afe47416a73de60700d17e (diff) | |
ui improvements
Diffstat (limited to 'src/ui/ui_expenses.cpp')
| -rw-r--r-- | src/ui/ui_expenses.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ui/ui_expenses.cpp b/src/ui/ui_expenses.cpp index 35adea0..168517f 100644 --- a/src/ui/ui_expenses.cpp +++ b/src/ui/ui_expenses.cpp @@ -105,18 +105,24 @@ static void draw_expense_form(invoice* buffer, bool viewing_only = false) ImGui::SameLine(); ImGui::Text(locale::get("invoice.form.deliveredat")); + ImGui::Spacing(); ImGui::Separator(); + ImGui::Spacing(); if (ImGui::FileSelect(locale::get("ui.fileselect.text"), buffer->document.original_path)) { buffer->document.copy_path[0] = 0; } + ImGui::Spacing(); ImGui::Separator(); + ImGui::Spacing(); ImGui::Text(locale::get("invoice.form.billinginformation")); ImGui::ContactForm(&buffer->customer, false, true, false); + ImGui::Spacing(); ImGui::Separator(); + ImGui::Spacing(); ImGui::Text(locale::get("invoice.form.supplier")); ImGui::ContactForm(&buffer->supplier, false, true, false); @@ -127,11 +133,15 @@ static void draw_expense_form(invoice* buffer, bool viewing_only = false) ImGui::Text(locale::get("invoice.form.shippinginformation")); ImGui::DeliveryInfoForm(&buffer->addressee, 0); } + + ImGui::Spacing(); ImGui::Separator(); + ImGui::Spacing(); ImGui::ProjectDropdown(buffer->project_id); ImGui::CostCenterDropdown(buffer->cost_center_id); + ImGui::Spacing(); ImGui::Separator(); ImGui::Spacing(); |
