- fix: Errore se premevo "Aggiungi" e poi "Annulla" poi la tabella non si aggiornava piu.

This commit is contained in:
Surya Paolo
2024-09-30 00:05:53 +02:00
parent 744812eb39
commit 522cff7c6b
7 changed files with 49 additions and 10 deletions

View File

@@ -1535,6 +1535,16 @@ export const colmyHosp = [
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
}),
AddCol({
name: 'adType',
label_trans: 'adTypes.name',
fieldtype: costanti.FieldType.select,
required: true,
jointable: 'adtypes',
showWhen: costanti.showWhen.NewRec + costanti.showWhen.InPage + costanti.showWhen.InEdit,
icon: 'fas fa-bullhorn',
noshowlabel: true,
}),
AddCol({
name: 'typeHosp',
label_trans: 'hosps.typeHosp',

View File

@@ -7287,6 +7287,7 @@ export const tools = {
getdefaultnewrec_MyHosp(): any {
return {
visibile: true,
adType: tools.getSelectionByTable('adtypes', costanti.AdType.OFFRO),
typeHosp: tools.getSelectionByTable(toolsext.TABTYPEHOSP, 2),
idContribType: tools.getSelectionByTable('contribtypes', []),
accomodation: [],