status=4 means sold out performance
If the xml Feed contains a <status>4</status>
, than the drupal field onsaleStopped should be set to 4.
Currently, the field is only read when a performance is created. But nothing will be done with it.
https://gitlab.cross-solution.de/Vino/drupal/ztix-import/blob/master/tm_ztix_import.module#L341
Currently, the field is only read when a performance is created. But nothing will be done with it.
The field should also be checked when performances are updated. If it has the value 4, onsaleStopped should be set to 4
<event>
<evid>3086041</evid>
<vaid>41</vaid>
<mandant>0</mandant>
<status>4</status>
<onsaleStopped>0</onsaleStopped>
<date>2019-01-02</date>
<time>20:00:00</time>
<endtime>00:00:00</endtime>
<letin>19:30:00</letin>
<moddate>2018-07-30</moddate>
<modtime>12:43:00</modtime>
@dench0 do you have time to do this?