Browse Source

Considered person_id in formulars

Dmitry Yu Okunev 4 years ago
parent
commit
2f7f46a1e2
1 changed files with 2 additions and 1 deletions
  1. 2 1
      formular.go

+ 2 - 1
formular.go

@@ -10,9 +10,10 @@ import (
 	"strings"
 )
 
-//reform:formular
+//reform:formular_view
 type Formular struct {
 	EmpGUID              int          `reform:"EmpGUID"        view:"readonly"`
+	PersonId             *int         `reform:"person_id"      view:"readonly"`
 	StfCardId            int          `reform:"StfCardId"      view:"readonly"`
 	PersonnelNumber      int          `reform:"TabN"           view:"readonly"`
 	FormularType         string       `reform:"Tip_formular"   view:"readonly"`