models/printing_model.py
def update_rec_date(cls, id, rec_date):
        """Updates the receive date for an entry"""
        obj = cls.query.filter_by(id=id).first()
        obj.rec_date = rec_date
        db.session.commit()
        return None
Updates the receive date for an entry
Updates the receive date for an entry
Updates the receive date for an entry
def update_rec_date(cls, id, rec_date):
        obj = cls.query.filter_by(id=id).first()
        obj.rec_date = rec_date
        db.session.commit()
        return None
def update_rec_date ( cls , id , rec_date ) : obj = cls . query . filter_by ( id = id ) . first ( ) obj . rec_date = rec_date db . session . commit ( ) return None
Updates the receive date for an entry
Updates the receive date for an entry
"""Updates the receive date for an entry"""
cls
id
rec_date