#include "scselmsk.h"
#include "sc2100a.h"

PAGE "Stampa estratti conto" -1 -1 70 18

NUMBER F_CODDITTA 5
BEGIN
  PROMPT 2 1 "Cod. "
  FLAGS "DFR"
  USE LF_NDITTE
  INPUT CODDITTA F_CODDITTA
  OUTPUT F_RAGSOC RAGSOC
  CHECKTYPE REQUIRED
END

STRING F_RAGSOC 50 46
BEGIN
  PROMPT 14 1 "R.S. "
  FLAGS "DP"
END

GROUPBOX DLG_NULL 68 8
BEGIN
   PROMPT 1 2 ""
END

NUMBER F_CODPROF 4
BEGIN
  PROMPT 2 3 "Profilo "
  FLAGS "Z"
  USE LF_FORM
  INPUT TIPOPROF BASE_EC_PROFILE
  INPUT CODPROF[1,4] F_CODPROF
  INPUT CODPROF[5,5] F_LINPROF
  DISPLAY "Codice" CODPROF[1,4]
  DISPLAY "Lingua" CODPROF[5,5]
  DISPLAY "Descrizione@50" DESC
  OUTPUT F_CODPROF CODPROF[1,4]
  OUTPUT F_LINPROF CODPROF[5,5]
  OUTPUT F_DESPROF DESC
  FIELD ANTICLEAR
  WARNING "Codice profilo o lingua errato"
  ADD RUN sc3 -0
END

STRING F_LINPROF 1
BEGIN
  PROMPT 19 3 ""
  FLAGS "U"
 USE %LNG
  INPUT CODTAB F_LINPROF
  DISPLAY "Codice" CODTAB
  DISPLAY "Descrizione@50" S0
  OUTPUT F_LINPROF CODTAB
  CHECKTYPE NORMAL
  WARNING "Codice lingua errato"
END

STRING F_DESPROF 50 40
BEGIN
  PROMPT 26 3 ""
  FLAGS "D"
END


DATE F_DATALIMOP
BEGIN
  PROMPT 2 4 "Data limite operazione  "
  FLAGS "A"
END

DATE F_DATALIMSC
BEGIN
  PROMPT 2 5 "Data limite scaduto     "
  CHECKTYPE REQUIRED
END

NUMBER F_GIORISCH 3
BEGIN
  PROMPT 2 6 "Giorni calcolo rischio  "
  GROUP 1
END

BOOLEAN F_STAMPCHIU
BEGIN
  PROMPT 2 7 "Stampa partite chiuse"
  MESSAGE FALSE CLEAR,F_DATACHIU
  MESSAGE TRUE ENABLE,F_DATACHIU
END

DATE F_DATACHIU
BEGIN
  PROMPT 26 7 " dal "
  FLAGS "D"
END

STRING F_LUOGOSEND 50 32
BEGIN
  PROMPT 2 8 "Luogo d'invio "
END

DATE F_DATASEND
BEGIN
  PROMPT 51 8 "data "
  FLAGS "A"
  CHECKTYPE REQUIRED
END

RADIOBUTTON SC_CLIFO 20
BEGIN
  PROMPT 1 10 "Selezione"
  ITEM "C|Clienti"   MESSAGE ENABLE,1@
  ITEM "F|Fornitori" MESSAGE CLEAR,1@
END

RADIOBUTTON SC_SORTCF 25
BEGIN
  PROMPT 26 10 "Ordinamento"
  ITEM "1|Per codice" MESSAGE HIDE,2@|SHOW,3@
  ITEM "2|Per ragione sociale" MESSAGE HIDE,3@|SHOW,2@
END

BUTTON SC_SELECT 10 1
BEGIN
  PROMPT 52 11 "S~elezione"
END

BUTTON SC_RESET 10 1
BEGIN
  PROMPT 52 12 "A~zzera"
END

NUMBER SC_CFCODFR 6
BEGIN
  PROMPT 2 14 "Da codice               "
  GROUP 3
  FLAGS "B"
END

NUMBER SC_CFCODTO 6
BEGIN
  PROMPT 37 14  "a codice "
  GROUP 3
  FLAGS "B"
END

STRING SC_CFDESFR  50 30
BEGIN
  PROMPT 2 14 "Da ragione sociale "
  GROUP 2
  FLAGS "HB"
END

STRING SC_CFDESTO 50 30
BEGIN
  PROMPT 2 15 "A ragione sociale  "
  GROUP 2
  FLAGS "HB"
END

NUMBER SC_NSEL 3
BEGIN
  PROMPT 57 14 "N. "
  FLAGS "D"
END

BUTTON DLG_PRINT 10 2
BEGIN
  PROMPT -12 -1 ""
  MESSAGE EXIT,K_ENTER
END

BUTTON DLG_QUIT 10 2
BEGIN
  PROMPT -22 -1 ""
END


ENDPAGE
ENDMASK
