Fix QMs reports, remove V grade

This commit is contained in:
2023-03-17 14:33:30 +00:00
parent 12c7b9b5d1
commit de54576d11
5 changed files with 35 additions and 11 deletions

View File

@@ -228,8 +228,8 @@ class QM(TroggleModel):
),
)
# def get_next_by_id(self):
# return QM.objects.get(id=self.id + 1)
def get_next_by_id(self):
return QM.objects.get(id=self.id + 1)
# def get_previous_by_id(self):
# return QM.objects.get(id=self.id - 1)
def get_previous_by_id(self):
return QM.objects.get(id=self.id - 1)

View File

@@ -105,7 +105,7 @@ survextemplatefile = """; *** THIS IS A TEMPLATE FILE NOT WHAT YOU MIGHT BE EXPE
; QM doesn't go anywhere, set the resolution-station to be the same as the
; nearest-station. Include any relevant details of how to find or push the QM in
; the textual description.
;Serial number grade(A/B/C/D/V/X) nearest-station resolution-station description
;Serial number grade(A/B/C/D/X) nearest-station resolution-station description
;[ QM1 A surveyname.3 - description of QM ]
;[ QM2 B surveyname.5 - description of QM ]