report
This commit is contained in:
@@ -50,7 +50,6 @@ class ReportExport implements FromView
|
||||
$data = $query->get();
|
||||
} elseif ($this->reportType === 'Total Users') {
|
||||
$query = IamPrincipal::query()->where('principal_type_xid',3);
|
||||
// $query = Subscriptions::query()->where('is_cancelled_subscription', 1);
|
||||
|
||||
if (!empty($this->states)) {
|
||||
$query->whereIn('state_xid', $this->states);
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
@if ($data->isEmpty())
|
||||
<p>No data available</p>
|
||||
@else
|
||||
|
||||
|
||||
@if ($reportType === 'Total Subscribed')
|
||||
<table>
|
||||
<thead>
|
||||
@@ -20,7 +20,7 @@
|
||||
<th>Subscription ID</th>
|
||||
<th>User Name</th>
|
||||
<th>State</th>
|
||||
<th>Created At</th>
|
||||
<th>Subscription Date & Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -40,10 +40,10 @@
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Sr No.</th>
|
||||
<th>User ID</th>
|
||||
<th>User Name</th>
|
||||
<th>Customer ID</th>
|
||||
<th>Customer Name</th>
|
||||
<th>State</th>
|
||||
<th>Created At</th>
|
||||
<th>Customer Join Date & Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -68,7 +68,7 @@
|
||||
<th>Restaurant Name</th>
|
||||
<th>Customer Name</th>
|
||||
<th>State</th>
|
||||
<th>Created At</th>
|
||||
<th>Redemption Date & Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -93,7 +93,7 @@
|
||||
<th>Restaurant Name</th>
|
||||
<th>Customer Name</th>
|
||||
<th>State</th>
|
||||
<th>Created At</th>
|
||||
<th>Redemption Date & Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -118,7 +118,7 @@
|
||||
<th>Email</th>
|
||||
<th>State</th>
|
||||
<th>Subscription Status</th>
|
||||
<th>Cancelled At</th>
|
||||
<th>Subscription Cancel Date & Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -144,7 +144,7 @@
|
||||
<th>Email</th>
|
||||
<th>Phone Number</th>
|
||||
<th>State</th>
|
||||
<th>Referred Date Time</th>
|
||||
<th>Referred Date & Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -172,7 +172,7 @@
|
||||
<th>Email</th>
|
||||
<th>Phone number</th>
|
||||
<th>State</th>
|
||||
<th>Referred Date Time</th>
|
||||
<th>Referred Date & Time</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user