JFIF x x C C " } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w !1AQ aq"2B #3Rbr{
File "edit_email_template.blade.php"
Full Path: /var/www/laravel_filter/Modules/GlobalSetting/Resources/views/edit_email_template.blade.php
File size: 15.55 KB
MIME-type: text/html
Charset: utf-8
@extends('admin.master_layout')
@section('title')
<title>{{__('admin.Email Template')}}</title>
@endsection
@section('admin-content')
<!-- Main Content -->
<div class="main-content">
<section class="section">
<div class="section-header">
<h1>{{__('admin.Email Template')}}</h1>
</div>
<div class="section-body">
<a href="{{ route('admin.email-template') }}" class="btn btn-primary"><i class="fas fa-list"></i> {{__('admin.Email Template')}}</a>
<div class="row mt-4">
@if ($template->id != 3)
<div class="col">
<div class="card">
<div class="card-body">
<table class="table table-bordered">
<thead>
<th>{{__('admin.Variable')}}</th>
<th>{{__('admin.Meaning')}}</th>
</thead>
<tbody>
@if ($template->id == 1)
<tr>
@php
$name="{{name}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.User Name')}}</td>
</tr>
@endif
@if ($template->id == 2)
<tr>
@php
$name="{{name}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.User Name')}}</td>
</tr>
<tr>
@php
$email="{{email}}";
@endphp
<td>{{ $email }}</td>
<td>{{__('admin.User Email')}}</td>
</tr>
<tr>
@php
$phone="{{phone}}";
@endphp
<td>{{ $phone }}</td>
<td>{{__('admin.User Phone')}}</td>
</tr>
<tr>
@php
$subject="{{subject}}";
@endphp
<td>{{ $subject }}</td>
<td>{{__('admin.User Subject')}}</td>
</tr>
<tr>
@php
$message="{{message}}";
@endphp
<td>{{ $message }}</td>
<td>{{__('admin.Message')}}</td>
</tr>
@endif
@if ($template->id == 4)
<tr>
@php
$name="{{user_name}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.User Name')}}</td>
</tr>
@endif
@if ($template->id == 5)
<tr>
@php
$name="{{influencer_name}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.Influencer Name')}}</td>
</tr>
<tr>
@php
$method="{{withdraw_method}}";
@endphp
<td>{{ $method }}</td>
<td>{{__('admin.Withdraw method')}}</td>
</tr>
<tr>
@php
$total_amount="{{total_amount}}";
@endphp
<td>{{ $total_amount }}</td>
<td>{{__('admin.Total amount')}}</td>
</tr>
<tr>
@php
$withdraw_charge="{{withdraw_charge}}";
@endphp
<td>{{ $withdraw_charge }}</td>
<td>{{__('admin.Withdraw Charge')}}</td>
</tr>
<tr>
@php
$withdraw_amount="{{withdraw_amount}}";
@endphp
<td>{{ $withdraw_amount }}</td>
<td>{{__('admin.Withdraw amount')}}</td>
</tr>
<tr>
@php
$approval_date="{{approval_date}}";
@endphp
<td>{{ $approval_date }}</td>
<td>{{__('admin.Approval Date')}}</td>
</tr>
@endif
@if ($template->id == 6)
<tr>
@php
$name="{{user_name}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.User Name')}}</td>
</tr>
<tr>
@php
$total_amount="{{total_amount}}";
@endphp
<td>{{ $total_amount }}</td>
<td>{{__('admin.Total amount')}}</td>
</tr>
<tr>
@php
$payment_method="{{payment_method}}";
@endphp
<td>{{ $payment_method }}</td>
<td>{{__('admin.Payment Method')}}</td>
</tr>
<tr>
@php
$payment_status="{{payment_status}}";
@endphp
<td>{{ $payment_status }}</td>
<td>{{__('admin.Payment Status')}}</td>
</tr>
<tr>
@php
$order_status="{{order_status}}";
@endphp
<td>{{ $order_status }}</td>
<td>{{__('admin.Order Status')}}</td>
</tr>
<tr>
@php
$order_date="{{order_date}}";
@endphp
<td>{{ $order_date }}</td>
<td>{{__('admin.Order Date')}}</td>
</tr>
<tr>
@php
$order_detail="{{order_detail}}";
@endphp
<td>{{ $order_detail }}</td>
<td>{{__('admin.Order Detail')}}</td>
</tr>
@endif
@if ($template->id == 8)
<tr>
@php
$name="{{name}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.Client Name')}}</td>
</tr>
<tr>
@php
$name="{{order_id}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.Order Id')}}</td>
</tr>
<tr>
@php
$name="{{amount}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.Total Amount')}}</td>
</tr>
<tr>
@php
$name="{{schedule_date}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.Schedule Date')}}</td>
</tr>
@endif
@if ($template->id == 9)
<tr>
@php
$name="{{name}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.Influencer Name')}}</td>
</tr>
<tr>
@php
$name="{{order_id}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.Order Id')}}</td>
</tr>
<tr>
@php
$name="{{amount}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.Total Amount')}}</td>
</tr>
<tr>
@php
$name="{{schedule_date}}";
@endphp
<td>{{ $name }}</td>
<td>{{__('admin.Schedule Date')}}</td>
</tr>
@endif
</tbody>
</table>
</div>
</div>
</div>
@endif
</div>
</div>
<div class="section-body">
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<form action="{{ route('admin.update-email-template',$template->id) }}" method="POST">
@csrf
@method('PUT')
<div class="form-group">
<label for="">{{__('admin.Subject')}} <span class="text-danger">*</span></label>
<input type="text" class="form-control" value="{{ $template->subject }}" name="subject">
</div>
<div class="form-group">
<label for="">{{__('admin.Description')}} <span class="text-danger">*</span></label>
<textarea name="description" cols="30" rows="10" class="form-control summernote">{{ $template->description }}</textarea>
</div>
<button class="btn btn-success" type="submit">{{__('admin.Update')}}</button>
</form>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
@endsection