tkrebs / ep3-bs

Online booking system for courts
http://bs.hbsys.de/
MIT License
180 stars 108 forks source link

buchungs maske fuer normale user anpassen #592

Closed holli73 closed 1 year ago

holli73 commented 1 year ago

hallo,

da wir noch immer stricherlisten fuehren - dachte ich mir diese zu digitalisieren mit den produkt feature - ich hab das auch soweit hinbekommen und kann nun einfach mit

SELECT c.alias, c.email, a.description as Artikel, sum(a.quantity) as Anzahl, (a.price/a.quantity)/100 as PreisProArtikel, sum(a.price)/100 FROM bs_bookings_bills as a, bs_bookings as b, bs_users as c
  where a.bid = b.bid 
    and b.uid = c.uid
    and b.created >= '2023-01-01 00:00:00'
  group by a.description, c.alias, c.email
order by 5 asc, 3 asc

abfragen pro user was er in der saison aufgeschrieben hat auf unserem platz 'getraenke' - jedoch passt mir hier auch die eingabe maske nicht ganz (auf mobile devices rendered das popup immer wieder mal falsch und man kann dann nicht scrollen) dh. wenn dich diese maske kleiner bekomme waere es gut - ich wuerde gerne die preis column nicht anzeigen und es macht auch keinen sinn auf diesem platz die anzahl spieler abzufragen - ist das evtl. auch einfach moeglich in einem .phtml file anzupassen das diese rows/column nicht angezeigt werden?

danke holli

image

PS: diese produkte gibt es nur auf dem platz getraenke

holli73 commented 1 year ago

i found it - it is within module/square/src/square/view/helper/productchoice.php - if someone needs it as well