offers list

This commit is contained in:
CHIEFSOFT\ameye
2023-09-26 10:47:14 -04:00
parent ca243d7cb6
commit 5c2e0aa1db
2 changed files with 19 additions and 0 deletions
+18
View File
@@ -79,6 +79,24 @@ class Bkoreport extends Bko_Controller {
$this->renderbkoreportpage($data);
}
public function offers() {
$data["title"] = "Recent Signup Report";
//$mysql = "SElECT added::date,username,firstname||' '||lastname AS Name,loc,last_login::date FROM members ORDER BY id DESC LIMIT 7000";
$mysql = "SELECT o.id,
o.expire||'<br>'||o.offer_code AS expire_offer,
o.job_description,
mo.firstname AS client,
mw.firstname AS owner,
o.reminder_date,
o.uid
FROM members_jobs_offer o
LEFT JOIN members mo ON mo.id = o.client_id
LEFT JOIN members mw ON mw.id = o.member_id
WHERE o.public_view = 0 ORDER BY o.id DESC limit 40";
$data['mysql'] = $mysql;
$this->renderbkoreportpage($data);
}
public function recent() {
$data["title"] = "Recent Signup Report";
//$mysql = "SElECT added::date,username,firstname||' '||lastname AS Name,loc,last_login::date FROM members ORDER BY id DESC LIMIT 7000";
@@ -78,6 +78,7 @@
<div class="heading-elements">
<div class="heading-btn-group">
<a href="/bkoreport/offers" class="btn btn-link btn-float text-size-small has-text"><i class="icon-bars-alt text-indigo-400"></i><span>Offers</span></a>
<a href="/bkoreport/recent" class="btn btn-link btn-float text-size-small has-text"><i class="icon-bars-alt text-indigo-400"></i><span>Recent Signup</span></a>
<a href="/marketing/" class="btn btn-link btn-float text-size-small has-text"><i class="icon-bars-alt text-indigo-400"></i><span>Marketing</span></a>
<a href="/blog/" class="btn btn-link btn-float text-size-small has-text"><i class="icon-bars-alt text-indigo-400"></i><span>Blog</span></a>