mirror of
https://gitlab.com/t6353/sharee.bike.git
synced 2025-07-08 14:46:30 +02:00
merchant dependent sites
This commit is contained in:
parent
6250f08e10
commit
61c3c3deb9
3 changed files with 12 additions and 30 deletions
|
@ -102,6 +102,11 @@ if(!$coo && !$q->param('merchant_id')){
|
|||
print $jrout;
|
||||
return Apache2::Const::OK;
|
||||
exit 0;
|
||||
}else{
|
||||
($aowner,my $return_merchant) = $apif->fetch_merchant($q,\%varenv,$coo,$q->param('merchant_id'));
|
||||
if($aowner && ($aowner == 195 || $aowner == 185 || $aowner == 176)){
|
||||
$response->{agb_html} = "site/agb_konrad_1.html";
|
||||
}
|
||||
}
|
||||
|
||||
#If param>40 || value > 400 then exit
|
||||
|
|
|
@ -215,6 +215,7 @@ sub get_devices {
|
|||
sub get_events {
|
||||
|
||||
#1. select all devices on content
|
||||
print FILE "ilockit get_events get_devicesONcontent_all\n";
|
||||
my $record_cc = get_devicesONcontent_all();
|
||||
my $today = DateTime->now( time_zone => "Europe/Berlin" );
|
||||
$today .= "Z";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue