Viewing File: /home/ubuntu/btcthrottle-backend/resources/views/exports/transactions.blade.php
<!DOCTYPE html>
<html>
<head>
<title>{{tr('transactions')}}</title>
</head>
<style type="text/css">
table {
font-family: arial, sans-serif;
border-collapse: collapse;
}
.first_row_design {
background-color: #187d7d;
color: #ffffff;
}
.row_col_design {
background-color: #cccccc;
}
th {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
font-weight: bold;
}
td {
border: 1px solid #dddddd;
text-align: left;
padding: 8px;
}
</style>
<body>
<table>
<tr class="first_row_design">
<th>{{tr('s_no')}}</th>
<th>{{tr('reference_id')}}</th>
<th>{{tr('order_id')}}</th>
<th>{{tr('total')}}</th>
<th>{{tr('mode')}}</th>
<th>{{tr('created_date')}}</th>
<th>{{tr('status')}}</th>
</tr>
@foreach($data as $i => $transaction)
<tr>
<td>{{ $i+1 }}</td>
<td>{{ $transaction['reference_id'] ?? tr('na') }}</td>
<td>{{ $transaction['order_id'] ?? tr('na') }}</td>
<td>{{ $transaction['amount'] ?? tr('na') }}</td>
<td>{{ $transaction['mode'] ?? tr('na') }}</td>
<td>{{ $transaction['created'] ?? tr('na') }}</td>
<td>{{ $transaction['status'] ?? TRANSACTION_INITIATED }}</td>
</tr>
@endforeach
</table>
</body>
</html>
Back to Directory
File Manager