JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "withdraw_list.blade.php"
Full Path: /var/www/laravel_filter/resources/views/admin/withdraw_list.blade.php
File size: 3.92 KB
MIME-type: text/html
Charset: utf-8
@extends('admin.master_layout')
@section('title')
<title>{{__('admin.Influencer withdraw')}}</title>
@endsection
@section('admin-content')
<!-- Main Content -->
<div class="main-content">
<section class="section">
<div class="section-header">
<h1>{{__('admin.Influencer withdraw')}}</h1>
</div>
<div class="section-body">
<div class="row mt-4">
<div class="col">
<div class="card">
<div class="card-body">
<div class="table-responsive table-invoice">
<table class="table table-striped" id="dataTable">
<thead>
<tr>
<th >{{__('admin.SN')}}</th>
<th >{{__('admin.Influencer')}}</th>
<th >{{__('admin.Method')}}</th>
<th >{{__('admin.Charge')}}</th>
<th >{{__('admin.Total Amount')}}</th>
<th >{{__('admin.Withdraw Amount')}}</th>
<th >{{__('admin.Status')}}</th>
<th >{{__('admin.Action')}}</th>
</tr>
</thead>
<tbody>
@foreach ($withdraws as $index => $withdraw)
<tr>
<td>{{ ++$index }}</td>
<td>
<a href="{{ route('admin.influencer-show',$withdraw->influencer->id) }}">{{ $withdraw->influencer->name }}</a>
</td>
<td>{{ $withdraw->method }}</td>
<td>
{{ currency($withdraw->total_amount - $withdraw->withdraw_amount) }}
</td>
<td>
{{ currency($withdraw->total_amount) }}
</td>
<td>
{{ currency($withdraw->withdraw_amount) }}
</td>
<td>
@if ($withdraw->status==1)
<span class="badge badge-success">{{__('admin.Success')}}</span>
@else
<span class="badge badge-danger">{{__('admin.Pending')}}</span>
@endif
</td>
<td>
<a href="{{ route('admin.show-influencer-withdraw',$withdraw->id) }}" class="btn btn-primary btn-sm"><i class="fa fa-eye" aria-hidden="true"></i></a>
<a href="javascript:;" data-toggle="modal" data-target="#deleteModal" class="btn btn-danger btn-sm" onclick="deleteData({{ $withdraw->id }})"><i class="fa fa-trash" aria-hidden="true"></i></a>
</td>
</tr>
@endforeach
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<script>
"use strict"
function deleteData(id){
$("#deleteForm").attr("action",'{{ url("admin/delete-influencer-withdraw/") }}'+"/"+id)
}
</script>
@endsection