Flash Sale for Premium Subscriptions

50% off annual premium licence subscription.

Get 50%off now

Ability to have different services at the same time

About Support What do you want added? Ability to have different services at the same time

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2878
    Avatar for chrispriorchrisprior
    Participant

    I would like to be able to have a variety of different services all starting at the same time for the same location. We have a pattern of services which differ depending on the Sunday in the month. At present, I have to say that one starts at 10:15.00, another at 10:15.01 and the next at 10:15.02. I would also like to have the ability to have a ‘Special’ service which can have different tasks associated on an entry by entry basis. Currently, the special services ‘corrupt’ the average attendance calculations as we have a very large attendance for this like Remembrance Day.

    Thanks

    #4198
    Avatar for Andy MoyleAndy Moyle
    Keymaster

    Hi Chris,
    That’s quite an easy fix – I was just stopping duplication of same time, date and venue but not including checking the service name on adding (note the check isn’t done for editing).

    So from next update as long as the service name is different the other factors can be the same.
    That will allow you to create your special service too.
    Andy
    ps If you want the change now line 111 of includes/services.php should be changed to
    if(!$id)$id=$wpdb->get_var(‘SELECT service_id FROM ‘.CA_SER_TBL.’ WHERE service_name=”‘.esc_sql($form).'” AND site_id=”‘.esc_sql($form).'” AND service_day=”‘.esc_sql($form).'” AND service_day=”‘.esc_sql($form).'” AND service_time=”‘.esc_sql($form).'” ‘);

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.