#!/bin/bash
curl -F monat_anlegen=Anlegen -F monat=4 -F jahr=2024 -c cookie -D header localhost/mlohn/gui/WorkFlowView.php
curl -b cookie localhost/mlohn/gui/index.php >out.html
if ! grep "selected=yes>4" out.html
then
	echo "monat nicht gemerkt"
	exit 1
fi
if ! grep "selected=yes>2024" out.html
then
        echo "jahr nicht gemerkt"
        exit 1
fi