aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/resources/templates/partnerEdit.html
diff options
context:
space:
mode:
authormrfoxygmfr <mrfoxygmfr@sch9.ru>2025-05-04 11:55:00 +0300
committermrfoxygmfr <mrfoxygmfr@sch9.ru>2025-05-04 11:55:00 +0300
commit47e70356bc1b6533e6a7c512c6252f8b141d4a4f (patch)
tree4b60d86d5b7b26f8ccbe1e35431af026d2d97823 /src/main/resources/templates/partnerEdit.html
parentf9a025d7dacab4dc40c81f587e5303576ae4b5d0 (diff)
fix(templates): partner view
Diffstat (limited to 'src/main/resources/templates/partnerEdit.html')
-rw-r--r--src/main/resources/templates/partnerEdit.html7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/resources/templates/partnerEdit.html b/src/main/resources/templates/partnerEdit.html
index 9bcebed..356e42b 100644
--- a/src/main/resources/templates/partnerEdit.html
+++ b/src/main/resources/templates/partnerEdit.html
@@ -28,17 +28,14 @@
<label for="partnerType">Тип:</label>
<select disabled id="partnerType" name="partnerType" required>
<option value="0" disabled>Выберите тип</option>
- <option th:value="'SUPPLIER'" th:text="SUPPLIER" th:selected="${partner.getType() == 'SUPPLIER'}"></option>
- <option th:value="'ISSUER'" th:text="ISSUER" th:selected="${partner.getType() == 'ISSUER'}"></option>
+ <option th:value="'SUPPLIER'" th:text="SUPPLIER" th:selected="${partner.getType().toString() == 'SUPPLIER'}"></option>
+ <option th:value="'ISSUER'" th:text="ISSUER" th:selected="${partner.getType().toString() == 'ISSUER'}"></option>
</select> <br><br>
<label for="partnerAddress">Адрес:</label>
<input disabled type="text" id="partnerAddress" name="partnerAddress" required th:value="${partner.getAddress()}"><br><br>
- <p>Контактные лица делают брррр TODO FIXME</p>
-
<input id="saveBtn" type="submit" value="Сохранить" class="btn btn-primary" hidden>
-
</form>
</div>