Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
Situation_center
Situation_center
  • Overview
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 14
    • Issues 14
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Registry
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Куаныш
  • Situation_centerSituation_center
  • Issues
  • #4

Please sign in to create the new issue.
Closed
Open
Opened Jul 13, 2020 by Куаныш@kuna9494 
  • Report abuse
  • New issue
Report abuse New issue

Автозаполнение полей свободных мест

При выборе значения из поля listbox_organization формы form_entered_patient (Перевод из других МО) необходимо заполнить данные о свободных местах в полях numericinput_free_provisional и numericinput_free_infection

Для это при выборе значения из поля listbox_organization надо сделать фильтрацию реестра reestr_mest_v_mo по полю listbox_organization и взять последнюю запись в случае если фильтр вернет 2 и более записей.

Далее надо заполнить поля следующим образом

в поле numericinput_free_provisional заполняем значение из компонента formula_free_prov

в поле numericinput_free_infection заполняем значение из компонента formula_free

в поле numericinput_place_count заполняем значение из компонента numericinput_place_count

в поле numericinput_place_count_prov заполняем значение из компонента numericinput_place_count_prov

Edited Jul 13, 2020 by Куаныш
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
No due date
0
Labels
None
Assign labels
  • View project labels
Reference: kuna9494/Situation_center#4