Файловый менеджер - Редактировать - /home/clickysoft/public_html/jmapi5.clickysoft.net/admin.tar
Назад
categories/edit.blade.php 0000644 00000013661 15021252041 0011374 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.category.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.categories.update", [$category->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="name">{{ trans('cruds.category.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', $category->name) }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.category.fields.name_helper') }}</span> </div> <div class="form-group"> <label class="required" for="slug">{{ trans('cruds.category.fields.slug') }}</label> <input class="form-control {{ $errors->has('slug') ? 'is-invalid' : '' }}" type="text" name="slug" id="slug" value="{{ old('slug', $category->slug) }}" required> @if($errors->has('slug')) <span class="text-danger">{{ $errors->first('slug') }}</span> @endif <span class="help-block">{{ trans('cruds.category.fields.slug_helper') }}</span> </div> <div class="form-group"> <label for="featured_image">{{ trans('cruds.category.fields.featured_image') }}</label> <div class="needsclick dropzone {{ $errors->has('featured_image') ? 'is-invalid' : '' }}" id="featured_image-dropzone"> </div> @if($errors->has('featured_image')) <span class="text-danger">{{ $errors->first('featured_image') }}</span> @endif <span class="help-block">{{ trans('cruds.category.fields.featured_image_helper') }}</span> </div> <div class="form-group"> <label for="parent_id">{{ trans('cruds.category.fields.parent') }}</label> <select class="form-control select2 {{ $errors->has('parent') ? 'is-invalid' : '' }}" name="parent_id" id="parent_id"> @foreach($parents as $id => $entry) <option value="{{ $id }}" {{ (old('parent_id') ? old('parent_id') : $category->parent->id ?? '') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('parent')) <span class="text-danger">{{ $errors->first('parent') }}</span> @endif <span class="help-block">{{ trans('cruds.category.fields.parent_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.category.fields.status') }}</label> @foreach(App\Models\Category::STATUS_RADIO as $key => $label) <div class="form-check {{ $errors->has('status') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="status_{{ $key }}" name="status" value="{{ $key }}" {{ old('status', $category->status) === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="status_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('status')) <span class="text-danger">{{ $errors->first('status') }}</span> @endif <span class="help-block">{{ trans('cruds.category.fields.status_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection @section('scripts') <script> Dropzone.options.featuredImageDropzone = { url: '{{ route('admin.categories.storeMedia') }}', maxFilesize: 2, // MB acceptedFiles: '.jpeg,.jpg,.png,.gif', maxFiles: 1, addRemoveLinks: true, headers: { 'X-CSRF-TOKEN': "{{ csrf_token() }}" }, params: { size: 2, width: 4096, height: 4096 }, success: function (file, response) { $('form').find('input[name="featured_image"]').remove() $('form').append('<input type="hidden" name="featured_image" value="' + response.name + '">') }, removedfile: function (file) { file.previewElement.remove() if (file.status !== 'error') { $('form').find('input[name="featured_image"]').remove() this.options.maxFiles = this.options.maxFiles + 1 } }, init: function () { @if(isset($category) && $category->featured_image) var file = {!! json_encode($category->featured_image) !!} this.options.addedfile.call(this, file) this.options.thumbnail.call(this, file, file.preview ?? file.preview_url) file.previewElement.classList.add('dz-complete') $('form').append('<input type="hidden" name="featured_image" value="' + file.file_name + '">') this.options.maxFiles = this.options.maxFiles - 1 @endif }, error: function (file, response) { if ($.type(response) === 'string') { var message = response //dropzone sends it's own error messages in string } else { var message = response.errors.file } file.previewElement.classList.add('dz-error') _ref = file.previewElement.querySelectorAll('[data-dz-errormessage]') _results = [] for (_i = 0, _len = _ref.length; _i < _len; _i++) { node = _ref[_i] _results.push(node.textContent = message) } return _results } } </script> @endsection categories/index.blade.php 0000644 00000013100 15021252041 0011542 0 ustar 00 @extends('layouts.admin') @section('content') @can('category_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.categories.create') }}"> {{ trans('global.add') }} {{ trans('cruds.category.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.category.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-Category"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.category.fields.id') }} </th> <th> {{ trans('cruds.category.fields.name') }} </th> <th> {{ trans('cruds.category.fields.slug') }} </th> <th> {{ trans('cruds.category.fields.featured_image') }} </th> <th> {{ trans('cruds.category.fields.parent') }} </th> <th> {{ trans('cruds.category.fields.status') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($categories as $key => $item) <option value="{{ $item->name }}">{{ $item->name }}</option> @endforeach </select> </td> <td> <select class="search" strict="true"> <option value>{{ trans('global.all') }}</option> @foreach(App\Models\Category::STATUS_RADIO as $key => $item) <option value="{{ $key }}">{{ $item }}</option> @endforeach </select> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('category_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.categories.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.categories.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'name', name: 'name' }, { data: 'slug', name: 'slug' }, { data: 'featured_image', name: 'featured_image', sortable: false, searchable: false }, { data: 'parent_name', name: 'parent.name' }, { data: 'status', name: 'status' }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-Category').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection categories/show.blade.php 0000644 00000005634 15021252041 0011430 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.category.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.categories.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.category.fields.id') }} </th> <td> {{ $category->id }} </td> </tr> <tr> <th> {{ trans('cruds.category.fields.name') }} </th> <td> {{ $category->name }} </td> </tr> <tr> <th> {{ trans('cruds.category.fields.slug') }} </th> <td> {{ $category->slug }} </td> </tr> <tr> <th> {{ trans('cruds.category.fields.featured_image') }} </th> <td> @if($category->featured_image) <a href="{{ $category->featured_image->getUrl() }}" target="_blank" style="display: inline-block"> <img src="{{ $category->featured_image->getUrl('thumb') }}"> </a> @endif </td> </tr> <tr> <th> {{ trans('cruds.category.fields.parent') }} </th> <td> {{ $category->parent->name ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.category.fields.status') }} </th> <td> {{ App\Models\Category::STATUS_RADIO[$category->status] ?? '' }} </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.categories.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> @endsection categories/create.blade.php 0000644 00000013453 15021252041 0011711 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.category.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.categories.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="name">{{ trans('cruds.category.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', '') }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.category.fields.name_helper') }}</span> </div> <div class="form-group"> <label class="required" for="slug">{{ trans('cruds.category.fields.slug') }}</label> <input class="form-control {{ $errors->has('slug') ? 'is-invalid' : '' }}" type="text" name="slug" id="slug" value="{{ old('slug', '') }}" required> @if($errors->has('slug')) <span class="text-danger">{{ $errors->first('slug') }}</span> @endif <span class="help-block">{{ trans('cruds.category.fields.slug_helper') }}</span> </div> <div class="form-group"> <label for="featured_image">{{ trans('cruds.category.fields.featured_image') }}</label> <div class="needsclick dropzone {{ $errors->has('featured_image') ? 'is-invalid' : '' }}" id="featured_image-dropzone"> </div> @if($errors->has('featured_image')) <span class="text-danger">{{ $errors->first('featured_image') }}</span> @endif <span class="help-block">{{ trans('cruds.category.fields.featured_image_helper') }}</span> </div> <div class="form-group"> <label for="parent_id">{{ trans('cruds.category.fields.parent') }}</label> <select class="form-control select2 {{ $errors->has('parent') ? 'is-invalid' : '' }}" name="parent_id" id="parent_id"> @foreach($parents as $id => $entry) <option value="{{ $id }}" {{ old('parent_id') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('parent')) <span class="text-danger">{{ $errors->first('parent') }}</span> @endif <span class="help-block">{{ trans('cruds.category.fields.parent_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.category.fields.status') }}</label> @foreach(App\Models\Category::STATUS_RADIO as $key => $label) <div class="form-check {{ $errors->has('status') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="status_{{ $key }}" name="status" value="{{ $key }}" {{ old('status', '1') === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="status_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('status')) <span class="text-danger">{{ $errors->first('status') }}</span> @endif <span class="help-block">{{ trans('cruds.category.fields.status_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection @section('scripts') <script> Dropzone.options.featuredImageDropzone = { url: '{{ route('admin.categories.storeMedia') }}', maxFilesize: 2, // MB acceptedFiles: '.jpeg,.jpg,.png,.gif', maxFiles: 1, addRemoveLinks: true, headers: { 'X-CSRF-TOKEN': "{{ csrf_token() }}" }, params: { size: 2, width: 4096, height: 4096 }, success: function (file, response) { $('form').find('input[name="featured_image"]').remove() $('form').append('<input type="hidden" name="featured_image" value="' + response.name + '">') }, removedfile: function (file) { file.previewElement.remove() if (file.status !== 'error') { $('form').find('input[name="featured_image"]').remove() this.options.maxFiles = this.options.maxFiles + 1 } }, init: function () { @if(isset($category) && $category->featured_image) var file = {!! json_encode($category->featured_image) !!} this.options.addedfile.call(this, file) this.options.thumbnail.call(this, file, file.preview ?? file.preview_url) file.previewElement.classList.add('dz-complete') $('form').append('<input type="hidden" name="featured_image" value="' + file.file_name + '">') this.options.maxFiles = this.options.maxFiles - 1 @endif }, error: function (file, response) { if ($.type(response) === 'string') { var message = response //dropzone sends it's own error messages in string } else { var message = response.errors.file } file.previewElement.classList.add('dz-error') _ref = file.previewElement.querySelectorAll('[data-dz-errormessage]') _results = [] for (_i = 0, _len = _ref.length; _i < _len; _i++) { node = _ref[_i] _results.push(node.textContent = message) } return _results } } </script> @endsection mails/order_payment_reminder.blade.php 0000644 00000011076 15021252041 0014162 0 ustar 00 <!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" /> <title>Urgent Payment Reminder</title> </head> <body> <div class="container"> <div class="row"> <div class="col"> <p style="text-align: center; "> <img src="{{ asset('images/jm-logo.png') }}" alt="{{ config('app.name') }}" width="200"> </p> <h3>Dear {{ $data['user']->name ?? '' }},</h3> <p> We hope this automatic email reminder finds you well. We are writing to bring your attention to an important matter regarding the outstanding payment on your account with <strong>{{ config('app.name') }}</strong>. </p> <p> According to our records, there is an unpaid balance of <strong>{{ $data['order_total'] }}</strong>. We understand that oversights can happen, and we kindly request your swift attention to settle this payment. </p> <p> To avoid any delays you can conveniently settle the outstanding amount through one of the following methods: </p> <p style="text-align: center"><strong><a href="{{ $data['invoice_url'] ?? $data['payment_url'] }}" style="font-size: 25px; text-decoration: underline; color: blue">CLICK HERE TO PAY</a></strong></p> <p> Check Payment: Mail a check payable to <strong>{{ config('app.name') }}</strong> to the following address: <strong>23372 Madero Rd #A Mission Viejo, CA 92691</strong>. <br> {{-- @if ($data['invoice_url']) Online Credit Card Payment: <strong><a href="{{$data['invoice_url']}}">Click here</a></strong> Call <strong><a href="tel:949-951-5271">949-951-5271</a></strong> to make payment over the phone during normal business hours. @else Call <strong><a href="tel:949-951-5271">949-951-5271</a></strong> to make payment over the phone during normal business hours. @endif --}} Call <strong><a href="tel:949-951-5271">949-951-5271</a></strong> to make payment over the phone during normal business hours. </p> <p> Once the payment is made, we will promptly update your account to ensure accurate records and you will stop receiving these reminders. </p> <p> For any questions or concerns please email us at: <strong><a href="mailto:{{ $data['contact_email'] }}">{{ $data['contact_email'] }}</a></strong> </p> <p> We understand that unforeseen circumstances may have led to this delay, and we are willing to assist you in any way we can. If you are experiencing challenges with the payment or require any further clarification, please do not hesitate to reach out to our accounts receivable team. We are committed to finding a suitable resolution and helping you through this process. </p> <p> Thank you for your immediate action in settling the overdue payment. We thank you for your business and remain at your disposal for any further assistance you may require. </p> <p> Best regards, <br /> {{ config('app.name') }} <br /> <a href="tel:{{ $data['company_phone_1'] }}">{{ $data['company_phone_1'] }}</a> <br> <a href="tel:{{ $data['company_phone_2'] }}">{{ $data['company_phone_2'] }}</a> </p> <p style="text-align: center; background-color: #117283; color: white;">Copyrights © 2007-{{ now()->format('Y') }} J & M Trophies, All Rights Reserved | Powered by ClickySoft</p> </div> </div> </div> </body> </html> mails/invoice_paid_user.blade.php 0000644 00000047416 15021252041 0013123 0 ustar 00 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="x-apple-disable-message-reformatting"> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> <title></title> <style type="text/css"> @media only screen and (min-width: 620px) { .u-row { width: 600px !important; } .u-row .u-col { vertical-align: top; } .u-row .u-col-100 { width: 600px !important; } } @media (max-width: 620px) { .u-row-container { max-width: 100% !important; padding-left: 0px !important; padding-right: 0px !important; } .u-row .u-col { min-width: 320px !important; max-width: 100% !important; display: block !important; } .u-row { width: 100% !important; } .u-col { width: 100% !important; } .u-col > div { margin: 0 auto; } } body { margin: 0; padding: 0; } table, tr, td { vertical-align: top; border-collapse: collapse; } p { margin: 0; } .ie-container table, .mso-container table { table-layout: fixed; } * { line-height: inherit; } a[x-apple-data-detectors='true'] { color: inherit !important; text-decoration: none !important; } table, td { color: #000000; } #u_body a { color: #0000ee; text-decoration: underline; } </style> <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet" type="text/css"><!--<![endif]--> </head> <body class="clean-body u_body" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #f9f9f9;color: #000000"> <!--[if IE]><div class="ie-container"><![endif]--> <!--[if mso]><div class="mso-container"><![endif]--> <table id="u_body" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #f9f9f9;width:100%" cellpadding="0" cellspacing="0"> <tbody> <tr style="vertical-align: top"> <td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #f9f9f9;"><![endif]--> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:20px;font-family:'Cabin',sans-serif;" align="left"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-right: 0px;padding-left: 0px;" align="center"> <img align="center" border="0" src="https://jmt.clickysoft.app/_next/static/media/nav-app-logo.02188e4a.svg" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 32%;max-width: 179.2px;" width="179.2"/> </td> </tr> </table> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:0px 10px 31px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #e5eaf5; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 140%;"> </p> <p style="line-height: 140%;"><span style="font-size: 28px; line-height: 39.2px;"><strong><span style="line-height: 39.2px; font-size: 28px;">Order </span></strong></span><span style="font-size: 28px; line-height: 39.2px;"><strong>Invoice Paid</strong></span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 22px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Payment of {{"$".$data['amount']}} for order {{$data['order_number']}} has been paid successfully via {{ $data['payment_method'] }}.</p> </div> </td> </tr> </tbody> </table> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 18px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Thank you for being our valued customer</p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #e5eaf5;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #e5eaf5;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="background-color: #ffffff;width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="background-color: #ffffff;height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:41px 55px 18px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #000000; line-height: 160%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 160%;"><span style="font-size: 20px; line-height: 32px;"><strong>For Contact</strong></span></p> <p style="font-size: 14px; line-height: 160%;"><span style="color: #000000; line-height: 22.4px;"><a rel="noopener" href="tel:1-800-266-1951" target="_blank" style="color: #000000;">1-800-266-1951</a></span></p> <p style="font-size: 14px; line-height: 160%;"><a rel="noopener" href="mailto:orders@jmtrophies.com" target="_blank"><span style="font-size: 16px; line-height: 25.6px; color: #000000;">orders@jmtrophies.com</span></a></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 14px; color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 14px; line-height: 0px;">Copyrights © 2007-2023 J & M Trophies, All Rights Reserved | Powered by ClickySoft</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <!--[if mso]></div><![endif]--> <!--[if IE]></div><![endif]--> </body> </html> mails/order_approved_confirmed.blade.php 0000644 00000004674 15021252041 0014474 0 ustar 00 <!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" /> <title>Order Approved/Confirmed</title> </head> <body> <div class="container"> <div class="row"> <div class="col"> <p style="text-align: center; "> <img src="{{asset('images/jm-logo.png')}}" alt="{{config('app.name')}}" width="200"> </p> <p style="text-align: center; font-size: 25px"> <strong>ORDER ACKNOWLEDGMENT - Please see your order details attached</strong> </p> <h3>Dear {{$data['customer_name']}},</h3> <p> Woo-hoo! Thank you for your order <strong>{{$data['order_number']}}</strong>. </p> <p> Please take a minute to review your orders details. Most importantly, you will want to make sure everything is accurate and complete. </p> @if(isset($data['invoice_url'])) <p style="text-align: center"> <a href="{{$data['invoice_url']}}" style="display: inline-block;margin-top: 10px;padding: 10px 35px;text-decoration: underline;color: blue;font-weight: bold;font-size: 25px;">CLICK HERE TO PAY</a> </p> @endif <p> If you have any questions or require any further assistance, please do not hesitate to reach out to our friendly customer support team. We are here to assist you at every step of the way. </p> <p> Warm regards, <br /> {{config('app.name')}} <br /> <a href="tel:{{$data['company_phone_1']}}">{{$data['company_phone_1']}}</a> <br> <a href="tel:{{$data['company_phone_2']}}">{{$data['company_phone_2']}}</a> </p> <p style="text-align: center; background-color: #117283; color: white;">Copyrights © 2007-{{now()->format('Y')}} J & M Trophies, All Rights Reserved | Powered by ClickySoft</p> </div> </div> </div> </body> </html> mails/invoice_paid_admin.blade.php 0000644 00000045610 15021252041 0013227 0 ustar 00 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="x-apple-disable-message-reformatting"> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> <title></title> <style type="text/css"> @media only screen and (min-width: 620px) { .u-row { width: 600px !important; } .u-row .u-col { vertical-align: top; } .u-row .u-col-100 { width: 600px !important; } } @media (max-width: 620px) { .u-row-container { max-width: 100% !important; padding-left: 0px !important; padding-right: 0px !important; } .u-row .u-col { min-width: 320px !important; max-width: 100% !important; display: block !important; } .u-row { width: 100% !important; } .u-col { width: 100% !important; } .u-col > div { margin: 0 auto; } } body { margin: 0; padding: 0; } table, tr, td { vertical-align: top; border-collapse: collapse; } p { margin: 0; } .ie-container table, .mso-container table { table-layout: fixed; } * { line-height: inherit; } a[x-apple-data-detectors='true'] { color: inherit !important; text-decoration: none !important; } table, td { color: #000000; } #u_body a { color: #0000ee; text-decoration: underline; } </style> <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet" type="text/css"><!--<![endif]--> </head> <body class="clean-body u_body" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #f9f9f9;color: #000000"> <!--[if IE]><div class="ie-container"><![endif]--> <!--[if mso]><div class="mso-container"><![endif]--> <table id="u_body" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #f9f9f9;width:100%" cellpadding="0" cellspacing="0"> <tbody> <tr style="vertical-align: top"> <td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #f9f9f9;"><![endif]--> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:20px;font-family:'Cabin',sans-serif;" align="left"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-right: 0px;padding-left: 0px;" align="center"> <img align="center" border="0" src="https://jmt.clickysoft.app/_next/static/media/nav-app-logo.02188e4a.svg" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 32%;max-width: 179.2px;" width="179.2"/> </td> </tr> </table> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:0px 10px 31px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #e5eaf5; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 140%;"> </p> <p style="line-height: 140%;"><span style="font-size: 28px; line-height: 39.2px;"><strong><span style="line-height: 39.2px; font-size: 28px;">Order </span></strong></span><span style="font-size: 28px; line-height: 39.2px;"><strong>Invoice Paid</strong></span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 22px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Payment of {{"$".$data['amount']}} for order {{$data['order_number']}} has been paid successfully via {{ $data['payment_method'] }} by {{ $data['user_name'] }}.</p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #e5eaf5;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #e5eaf5;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="background-color: #ffffff;width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="background-color: #ffffff;height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:41px 55px 18px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #000000; line-height: 160%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 160%;"><span style="font-size: 20px; line-height: 32px;"><strong>For Contact</strong></span></p> <p style="font-size: 14px; line-height: 160%;"><span style="color: #000000; line-height: 22.4px;"><a rel="noopener" href="tel:1-800-266-1951" target="_blank" style="color: #000000;">1-800-266-1951</a></span></p> <p style="font-size: 14px; line-height: 160%;"><a rel="noopener" href="mailto:orders@jmtrophies.com" target="_blank"><span style="font-size: 16px; line-height: 25.6px; color: #000000;">orders@jmtrophies.com</span></a></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 14px; color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 14px; line-height: 0px;">Copyrights © 2007-2023 J & M Trophies, All Rights Reserved | Powered by ClickySoft</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <!--[if mso]></div><![endif]--> <!--[if IE]></div><![endif]--> </body> </html> mails/order_invoice.blade.php 0000644 00000064647 15021252041 0012270 0 ustar 00 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="x-apple-disable-message-reformatting"> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> <title></title> <style type="text/css"> @media only screen and (min-width: 620px) { .u-row { width: 600px !important; } .u-row .u-col { vertical-align: top; } .u-row .u-col-100 { width: 600px !important; } } @media (max-width: 620px) { .u-row-container { max-width: 100% !important; padding-left: 0px !important; padding-right: 0px !important; } .u-row .u-col { min-width: 320px !important; max-width: 100% !important; display: block !important; } .u-row { width: 100% !important; } .u-col { width: 100% !important; } .u-col > div { margin: 0 auto; } } body { margin: 0; padding: 0; } table, tr, td { vertical-align: top; border-collapse: collapse; } p { margin: 0; } .ie-container table, .mso-container table { table-layout: fixed; } * { line-height: inherit; } a[x-apple-data-detectors='true'] { color: inherit !important; text-decoration: none !important; } table, td { color: #000000; } #u_body a { color: #0000ee; text-decoration: underline; } </style> <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet" type="text/css"><!--<![endif]--> </head> <body class="clean-body u_body" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #f9f9f9;color: #000000"> <!--[if IE]><div class="ie-container"><![endif]--> <!--[if mso]><div class="mso-container"><![endif]--> <table id="u_body" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #f9f9f9;width:100%" cellpadding="0" cellspacing="0"> <tbody> <tr style="vertical-align: top"> <td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #f9f9f9;"><![endif]--> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:20px;font-family:'Cabin',sans-serif;" align="left"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-right: 0px;padding-left: 0px;" align="center"> <img align="center" border="0" src="https://jmt.clickysoft.app/_next/static/media/nav-app-logo.02188e4a.svg" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 32%;max-width: 179.2px;" width="179.2"/> </td> </tr> </table> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:0px 10px 31px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #e5eaf5; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 140%;"> </p> <p style="font-size: 14px; line-height: 140%;"><span style="font-size: 28px; line-height: 39.2px;"><strong><span style="line-height: 39.2px; font-size: 28px;">Order Invoice Summary</span></strong></span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Order Number:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['order_number']}} </td> </tr> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Invoice Number:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['invoice_number']}} </td> </tr> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Recipient:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['user_name']}} </td> </tr> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Phone Number:</strong> </td> <td style=";overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['phone_number']}} </td> </tr> </tbody> </table> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #e5eaf5;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #e5eaf5;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="background-color: #ffffff;width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="background-color: #ffffff;height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> {{--<table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <!--[if mso]><style>.v-button {background: transparent !important;}</style><![endif]--> <div align="center"> <!--[if mso]><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="https://www.google.com/" style="height:37px; v-text-anchor:middle; width:146px;" arcsize="11%" stroke="f" fillcolor="#3AAEE0"><w:anchorlock/><center style="color:#FFFFFF;font-family:'Cabin',sans-serif;"><![endif]--> <a href="{{$data['invoice_url']}}" target="_blank" class="v-button" style="box-sizing: border-box;display: inline-block;font-family:'Cabin',sans-serif;text-decoration: none;-webkit-text-size-adjust: none;text-align: center;color: #FFFFFF; background-color: #117283; border-radius: 4px;-webkit-border-radius: 4px; -moz-border-radius: 4px; width:auto; max-width:100%; overflow-wrap: break-word; word-break: break-word; word-wrap:break-word; mso-border-alt: none;font-size: 14px;"> <span style="display:block;padding:10px 20px;line-height:120%;"><span style="line-height: 16.8px;">Download Invoice</span></span> </a> <!--[if mso]></center></v:roundrect><![endif]--> </div> </td> </tr> </tbody> </table>--}} <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:41px 55px 18px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #000000; line-height: 160%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 160%;"><span style="font-size: 20px; line-height: 32px;"><strong>For Contact</strong></span></p> <p style="font-size: 14px; line-height: 160%;"><span style="color: #000000; line-height: 22.4px;"><a rel="noopener" href="tel:1-800-266-1951" target="_blank" style="color: #000000;">1-800-266-1951</a></span></p> <p style="font-size: 14px; line-height: 160%;"><a rel="noopener" href="mailto:orders@jmtrophies.com" target="_blank"><span style="font-size: 16px; line-height: 25.6px; color: #000000;">orders@jmtrophies.com</span></a></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 14px; color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 14px; line-height: 0px;">Copyrights © 2007-2023 J & M Trophies, All Rights Reserved | Powered by ClickySoft</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <!--[if mso]></div><![endif]--> <!--[if IE]></div><![endif]--> </body> </html> mails/order_quote_user.blade.php 0000644 00000047320 15021252041 0013014 0 ustar 00 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="x-apple-disable-message-reformatting"> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> <title></title> <style type="text/css"> @media only screen and (min-width: 620px) { .u-row { width: 600px !important; } .u-row .u-col { vertical-align: top; } .u-row .u-col-100 { width: 600px !important; } } @media (max-width: 620px) { .u-row-container { max-width: 100% !important; padding-left: 0px !important; padding-right: 0px !important; } .u-row .u-col { min-width: 320px !important; max-width: 100% !important; display: block !important; } .u-row { width: 100% !important; } .u-col { width: 100% !important; } .u-col > div { margin: 0 auto; } } body { margin: 0; padding: 0; } table, tr, td { vertical-align: top; border-collapse: collapse; } p { margin: 0; } .ie-container table, .mso-container table { table-layout: fixed; } * { line-height: inherit; } a[x-apple-data-detectors='true'] { color: inherit !important; text-decoration: none !important; } table, td { color: #000000; } #u_body a { color: #0000ee; text-decoration: underline; } </style> <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet" type="text/css"><!--<![endif]--> </head> <body class="clean-body u_body" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #f9f9f9;color: #000000"> <!--[if IE]><div class="ie-container"><![endif]--> <!--[if mso]><div class="mso-container"><![endif]--> <table id="u_body" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #f9f9f9;width:100%" cellpadding="0" cellspacing="0"> <tbody> <tr style="vertical-align: top"> <td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #f9f9f9;"><![endif]--> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:20px;font-family:'Cabin',sans-serif;" align="left"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-right: 0px;padding-left: 0px;" align="center"> <img align="center" border="0" src="https://jmt.clickysoft.app/_next/static/media/nav-app-logo.02188e4a.svg" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 32%;max-width: 179.2px;" width="179.2"/> </td> </tr> </table> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:0px 10px 31px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #e5eaf5; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 140%;"> </p> <p style="line-height: 140%;"><span style="font-size: 28px; line-height: 39.2px;"><strong><span style="line-height: 39.2px; font-size: 28px;">Quote </span></strong></span><span style="font-size: 28px; line-height: 39.2px;"><strong>Status Updated</strong></span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 22px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Your order {{$data['order_number']}} has been approved successfully.</p> </div> </td> </tr> </tbody> </table> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 18px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Thank you for being our valued customer</p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #e5eaf5;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #e5eaf5;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="background-color: #ffffff;width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="background-color: #ffffff;height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:41px 55px 18px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #000000; line-height: 160%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 160%;"><span style="font-size: 20px; line-height: 32px;"><strong>For Contact</strong></span></p> <p style="font-size: 14px; line-height: 160%;"><span style="color: #000000; line-height: 22.4px;"><a rel="noopener" href="tel:1-800-266-1951" target="_blank" style="color: #000000;">1-800-266-1951</a></span></p> <p style="font-size: 14px; line-height: 160%;"><a rel="noopener" href="mailto:orders@jmtrophies.com" target="_blank"><span style="font-size: 16px; line-height: 25.6px; color: #000000;">orders@jmtrophies.com</span></a></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 14px; color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 14px; line-height: 0px;">Copyrights © 2007-2023 J & M Trophies, All Rights Reserved | Powered by ClickySoft</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <!--[if mso]></div><![endif]--> <!--[if IE]></div><![endif]--> </body> </html> mails/import_complete.blade.php 0000644 00000037353 15021252041 0012635 0 ustar 00 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="x-apple-disable-message-reformatting"> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> <title></title> <style type="text/css"> @media only screen and (min-width: 620px) { .u-row { width: 600px !important; } .u-row .u-col { vertical-align: top; } .u-row .u-col-100 { width: 600px !important; } } @media (max-width: 620px) { .u-row-container { max-width: 100% !important; padding-left: 0px !important; padding-right: 0px !important; } .u-row .u-col { min-width: 320px !important; max-width: 100% !important; display: block !important; } .u-row { width: 100% !important; } .u-col { width: 100% !important; } .u-col > div { margin: 0 auto; } } body { margin: 0; padding: 0; } table, tr, td { vertical-align: top; border-collapse: collapse; } p { margin: 0; } .ie-container table, .mso-container table { table-layout: fixed; } * { line-height: inherit; } a[x-apple-data-detectors='true'] { color: inherit !important; text-decoration: none !important; } table, td { color: #000000; } #u_body a { color: #0000ee; text-decoration: underline; } </style> <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet" type="text/css"><!--<![endif]--> </head> <body class="clean-body u_body" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #f9f9f9;color: #000000"> <!--[if IE]><div class="ie-container"><![endif]--> <!--[if mso]><div class="mso-container"><![endif]--> <table id="u_body" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #f9f9f9;width:100%" cellpadding="0" cellspacing="0"> <tbody> <tr style="vertical-align: top"> <td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #f9f9f9;"><![endif]--> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:20px;font-family:'Cabin',sans-serif;" align="left"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-right: 0px;padding-left: 0px;" align="center"> <img align="center" border="0" src="https://jmt.clickysoft.app/_next/static/media/nav-app-logo.02188e4a.svg" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 32%;max-width: 179.2px;" width="179.2"/> </td> </tr> </table> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 22px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Products import completed successfully.</p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #e5eaf5;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #e5eaf5;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="background-color: #ffffff;width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="background-color: #ffffff;height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:41px 55px 18px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #000000; line-height: 160%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 160%;"><span style="font-size: 20px; line-height: 32px;"><strong>For Contact</strong></span></p> <p style="font-size: 14px; line-height: 160%;"><span style="color: #000000; line-height: 22.4px;"><a rel="noopener" href="tel:1-800-266-1951" target="_blank" style="color: #000000;">1-800-266-1951</a></span></p> <p style="font-size: 14px; line-height: 160%;"><a rel="noopener" href="mailto:orders@jmtrophies.com" target="_blank"><span style="font-size: 16px; line-height: 25.6px; color: #000000;">orders@jmtrophies.com</span></a></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 14px; color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 14px; line-height: 0px;">Copyrights © 2007-2023 J & M Trophies, All Rights Reserved | Powered by ClickySoft</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <!--[if mso]></div><![endif]--> <!--[if IE]></div><![endif]--> </body> </html> mails/order_placed_user.blade.php 0000644 00000070217 15021252041 0013110 0 ustar 00 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="x-apple-disable-message-reformatting"> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> <title></title> <style type="text/css"> @media only screen and (min-width: 620px) { .u-row { width: 600px !important; } .u-row .u-col { vertical-align: top; } .u-row .u-col-100 { width: 600px !important; } } @media (max-width: 620px) { .u-row-container { max-width: 100% !important; padding-left: 0px !important; padding-right: 0px !important; } .u-row .u-col { min-width: 320px !important; max-width: 100% !important; display: block !important; } .u-row { width: 100% !important; } .u-col { width: 100% !important; } .u-col > div { margin: 0 auto; } } body { margin: 0; padding: 0; } table, tr, td { vertical-align: top; border-collapse: collapse; } p { margin: 0; } .ie-container table, .mso-container table { table-layout: fixed; } * { line-height: inherit; } a[x-apple-data-detectors='true'] { color: inherit !important; text-decoration: none !important; } table, td { color: #000000; } #u_body a { color: #0000ee; text-decoration: underline; } </style> <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet" type="text/css"><!--<![endif]--> </head> <body class="clean-body u_body" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #f9f9f9;color: #000000"> <!--[if IE]><div class="ie-container"><![endif]--> <!--[if mso]><div class="mso-container"><![endif]--> <table id="u_body" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #f9f9f9;width:100%" cellpadding="0" cellspacing="0"> <tbody> <tr style="vertical-align: top"> <td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #f9f9f9;"><![endif]--> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:20px;font-family:'Cabin',sans-serif;" align="left"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-right: 0px;padding-left: 0px;" align="center"> <img width="200" align="center" border="0" src="{{asset('images/jm-logo.png')}}" alt="{{config('app.name')}}" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 32%;max-width: 179.2px;" width="179.2"/> </td> </tr> </table> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:0px 10px 31px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #e5eaf5; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 140%;"> </p> <p style="font-size: 14px; line-height: 140%;"><span style="font-size: 28px; line-height: 39.2px;"><strong><span style="line-height: 39.2px; font-size: 28px;">Order Placed</span></strong></span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Order Number:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['order']['order_number']}} </td> </tr> </tbody> </table> <br><br> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <thead> <tr> <th align="left">Item</th> <th align="left">SKU</th> <th align="left">Price</th> <th align="left">Quantity</th> <th align="left">Engraving Fee</th> <th align="left">Total</th> </tr> </thead> <tbody> @foreach($data['orderDetails'] as $item) <tr> <td>{{$item->product_name}}</td> <td>{{$item->productPrice?->supplier_prod_number}}</td> <td>{{'$'.number_format($item->price, 2)}}</td> <td>{{$item->quantity}}</td> <td>{{'$'.number_format($item->engraving_fee, 2)}}</td> <td>{{'$'.number_format($item->total_price_after_engraving, 2)}}</td> </tr> @endforeach </tbody> </table> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> <br> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <th align="right">Sub Total:</th> <td align="center">{{$data['order']['sub_total']}}</td> </tr> <tr> <th align="right">Rush Order Fee:</th> <td align="center">{{$data['order']['rush_order_fee']}}</td> </tr> <tr> <th align="right">Sales Tax {{number_format($data['order']['state_sales_tax']['percentage'], 2).'%'}}:</th> <td align="center">{{'$'.number_format($data['order']['state_sales_tax']['amount'], 2)}}</td> </tr> <tr> <th align="right">Shipping Fee:</th> <td align="center">{{$data['order']['shipping_charges']}}</td> </tr> <tr> <th align="right">Grand Total:</th> <td align="center">{{$data['order']['grand_total']}}</td> </tr> </tbody> </table> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #e5eaf5;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #e5eaf5;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="background-color: #ffffff;width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="background-color: #ffffff;height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <h1 style="margin: 0px; line-height: 140%; text-align: center; word-wrap: break-word; font-size: 18px; ">Thank you for being our valued customer</h1> </td> </tr> </tbody> </table> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:41px 55px 18px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #000000; line-height: 160%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 160%;"><span style="font-size: 20px; line-height: 32px;"><strong>For Contact</strong></span></p> <p style="font-size: 14px; line-height: 160%;"><span style="color: #000000; line-height: 22.4px;"><a rel="noopener" href="tel:1-800-266-1951" target="_blank" style="color: #000000;">1-800-266-1951</a></span></p> <p style="font-size: 14px; line-height: 160%;"><a rel="noopener" href="mailto:orders@jmtrophies.com" target="_blank"><span style="font-size: 16px; line-height: 25.6px; color: #000000;">orders@jmtrophies.com</span></a></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 14px; color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 14px; line-height: 0px;">Copyrights © 2007-2023 J & M Trophies, All Rights Reserved | Powered by ClickySoft</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <!--[if mso]></div><![endif]--> <!--[if IE]></div><![endif]--> </body> </html> mails/order_cancelled_user.blade.php 0000644 00000047314 15021252041 0013574 0 ustar 00 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="x-apple-disable-message-reformatting"> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> <title></title> <style type="text/css"> @media only screen and (min-width: 620px) { .u-row { width: 600px !important; } .u-row .u-col { vertical-align: top; } .u-row .u-col-100 { width: 600px !important; } } @media (max-width: 620px) { .u-row-container { max-width: 100% !important; padding-left: 0px !important; padding-right: 0px !important; } .u-row .u-col { min-width: 320px !important; max-width: 100% !important; display: block !important; } .u-row { width: 100% !important; } .u-col { width: 100% !important; } .u-col > div { margin: 0 auto; } } body { margin: 0; padding: 0; } table, tr, td { vertical-align: top; border-collapse: collapse; } p { margin: 0; } .ie-container table, .mso-container table { table-layout: fixed; } * { line-height: inherit; } a[x-apple-data-detectors='true'] { color: inherit !important; text-decoration: none !important; } table, td { color: #000000; } #u_body a { color: #0000ee; text-decoration: underline; } </style> <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet" type="text/css"><!--<![endif]--> </head> <body class="clean-body u_body" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #f9f9f9;color: #000000"> <!--[if IE]><div class="ie-container"><![endif]--> <!--[if mso]><div class="mso-container"><![endif]--> <table id="u_body" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #f9f9f9;width:100%" cellpadding="0" cellspacing="0"> <tbody> <tr style="vertical-align: top"> <td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #f9f9f9;"><![endif]--> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:20px;font-family:'Cabin',sans-serif;" align="left"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-right: 0px;padding-left: 0px;" align="center"> <img align="center" border="0" src="https://jmt.clickysoft.app/_next/static/media/nav-app-logo.02188e4a.svg" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 32%;max-width: 179.2px;" width="179.2"/> </td> </tr> </table> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:0px 10px 31px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #e5eaf5; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 140%;"> </p> <p style="line-height: 140%;"><span style="font-size: 28px; line-height: 39.2px;"><strong><span style="line-height: 39.2px; font-size: 28px;">Order </span></strong></span><span style="font-size: 28px; line-height: 39.2px;"><strong>Cancelled</strong></span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 22px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Your order {{$data['order_number']}} has been cancelled successfully.</p> </div> </td> </tr> </tbody> </table> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 18px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Thank you for being our valued customer</p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #e5eaf5;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #e5eaf5;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="background-color: #ffffff;width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="background-color: #ffffff;height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:41px 55px 18px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #000000; line-height: 160%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 160%;"><span style="font-size: 20px; line-height: 32px;"><strong>For Contact</strong></span></p> <p style="font-size: 14px; line-height: 160%;"><span style="color: #000000; line-height: 22.4px;"><a rel="noopener" href="tel:1-800-266-1951" target="_blank" style="color: #000000;">1-800-266-1951</a></span></p> <p style="font-size: 14px; line-height: 160%;"><a rel="noopener" href="mailto:orders@jmtrophies.com" target="_blank"><span style="font-size: 16px; line-height: 25.6px; color: #000000;">orders@jmtrophies.com</span></a></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 14px; color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 14px; line-height: 0px;">Copyrights © 2007-2023 J & M Trophies, All Rights Reserved | Powered by ClickySoft</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <!--[if mso]></div><![endif]--> <!--[if IE]></div><![endif]--> </body> </html> mails/order_status_updated.blade.php 0000644 00000070037 15021252041 0013653 0 ustar 00 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="x-apple-disable-message-reformatting"> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> <title></title> <style type="text/css"> @media only screen and (min-width: 620px) { .u-row { width: 600px !important; } .u-row .u-col { vertical-align: top; } .u-row .u-col-100 { width: 600px !important; } } @media (max-width: 620px) { .u-row-container { max-width: 100% !important; padding-left: 0px !important; padding-right: 0px !important; } .u-row .u-col { min-width: 320px !important; max-width: 100% !important; display: block !important; } .u-row { width: 100% !important; } .u-col { width: 100% !important; } .u-col > div { margin: 0 auto; } } body { margin: 0; padding: 0; } table, tr, td { vertical-align: top; border-collapse: collapse; } p { margin: 0; } .ie-container table, .mso-container table { table-layout: fixed; } * { line-height: inherit; } a[x-apple-data-detectors='true'] { color: inherit !important; text-decoration: none !important; } table, td { color: #000000; } #u_body a { color: #0000ee; text-decoration: underline; } </style> <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet" type="text/css"><!--<![endif]--> </head> <body class="clean-body u_body" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #f9f9f9;color: #000000"> <!--[if IE]><div class="ie-container"><![endif]--> <!--[if mso]><div class="mso-container"><![endif]--> <table id="u_body" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #f9f9f9;width:100%" cellpadding="0" cellspacing="0"> <tbody> <tr style="vertical-align: top"> <td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #f9f9f9;"><![endif]--> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:20px;font-family:'Cabin',sans-serif;" align="left"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-right: 0px;padding-left: 0px;" align="center"> <img align="center" border="0" src="https://jmt.clickysoft.app/_next/static/media/nav-app-logo.02188e4a.svg" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 32%;max-width: 179.2px;" width="179.2"/> </td> </tr> </table> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:0px 10px 31px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #e5eaf5; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 140%;"> </p> <p style="font-size: 14px; line-height: 140%;"><span style="font-size: 28px; line-height: 39.2px;"><strong><span style="line-height: 39.2px; font-size: 28px;">Order Status Updated</span></strong></span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Order Number:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['order_number']}} </td> </tr> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Customer Name:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['customer_name']}} </td> </tr> </tbody> </table> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 22px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Order status updated from <strong>{{$data['previous_order_status']}}</strong> to <strong>{{$data['current_order_status']}}</strong> </p> </div> </td> </tr> </tbody> </table> @if($data['notes']) <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="line-height: 140%; text-align: left; word-wrap: break-word;"> <p style="line-height: 140%;">Additional Notes : {{$data['notes']}}</p> </div> </td> </tr> </tbody> </table> @endif @if(isset($data['tracking_number'])) <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <!--[if mso]><style>.v-button {background: transparent !important;}</style><![endif]--> <div align="center"> <!--[if mso]><v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{$data['tracking_number']}}" style="height:37px; v-text-anchor:middle; width:146px;" arcsize="11%" stroke="f" fillcolor="#3AAEE0"><w:anchorlock/><center style="color:#FFFFFF;font-family:'Cabin',sans-serif;"><![endif]--> <a href="{{$data['tracking_number']}}" target="_blank" class="v-button" style="box-sizing: border-box;display: inline-block;font-family:'Cabin',sans-serif;text-decoration: none;-webkit-text-size-adjust: none;text-align: center;color: #FFFFFF; background-color: #117283; border-radius: 4px;-webkit-border-radius: 4px; -moz-border-radius: 4px; width:auto; max-width:100%; overflow-wrap: break-word; word-break: break-word; word-wrap:break-word; mso-border-alt: none;font-size: 14px;"> <span style="display:block;padding:10px 20px;line-height:120%;"><span style="line-height: 16.8px;">Track my shipping</span></span> </a> <!--[if mso]></center></v:roundrect><![endif]--> </div> </td> </tr> </tbody> </table> @endif <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 18px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Thank you for being our valued customer</p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #e5eaf5;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #e5eaf5;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="background-color: #ffffff;width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="background-color: #ffffff;height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:41px 55px 18px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #000000; line-height: 160%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 160%;"><span style="font-size: 20px; line-height: 32px;"><strong>For Contact</strong></span></p> <p style="font-size: 14px; line-height: 160%;"><span style="color: #000000; line-height: 22.4px;"><a rel="noopener" href="tel:1-800-266-1951" target="_blank" style="color: #000000;">1-800-266-1951</a></span></p> <p style="font-size: 14px; line-height: 160%;"><a rel="noopener" href="mailto:orders@jmtrophies.com" target="_blank"><span style="font-size: 16px; line-height: 25.6px; color: #000000;">orders@jmtrophies.com</span></a></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 14px; color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 14px; line-height: 0px;">Copyrights © 2007-2023 J & M Trophies, All Rights Reserved | Powered by ClickySoft</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <!--[if mso]></div><![endif]--> <!--[if IE]></div><![endif]--> </body> </html> mails/order_in_assembly_cleaning.blade.php 0000644 00000005536 15021252041 0014771 0 ustar 00 <!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" /> <title>Final Stages of Assembly and Cleaning</title> </head> <body> <div class="container"> <div class="row"> <div class="col"> <p style="text-align: center; "> <img src="{{asset('images/jm-logo.png')}}" alt="{{config('app.name')}}" width="200"> </p> <h3>Dear {{$data['customer_name']}},</h3> <p> We are thrilled to provide you with an exciting progress update on your order <strong>{{$data['order_number']}}</strong> with <strong>{{config('app.name')}}</strong>. As we approach the final stages of production, we are delighted to inform you that your order has moved to the assembly and cleaning phase, bringing us closer to delivering your exceptional piece. </p> <p> Rest assured, we are fully committed to delivering a product that reflects our commitment to quality craftsmanship. Our team will continue to work diligently to complete the final stages of assembly and cleaning with precision and care. </p> <p> Should you have any questions or require any further information, please do not hesitate to reach out to our dedicated customer support team. We are here to assist you and ensure your complete satisfaction. </p> <p> Once again, we want to thank you for your trust and partnership. We are excited to deliver your order soon, and we look forward to your reaction when you finally receive it. It is our utmost priority to provide you with a remarkable experience. </p> <p> Warm regards, <br /> {{config('app.name')}} <br /> <a href="tel:{{$data['company_phone_1']}}">{{$data['company_phone_1']}}</a> <br> <a href="tel:{{$data['company_phone_2']}}">{{$data['company_phone_2']}}</a> </p> <p style="text-align: center; background-color: #117283; color: white;">Copyrights © 2007-{{now()->format('Y')}} J & M Trophies, All Rights Reserved | Powered by ClickySoft</p> </div> </div> </div> </body> </html> mails/order_artwork_reminder.blade.php 0000644 00000005071 15021252041 0014174 0 ustar 00 <!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8"/> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" /> <title>Artwork Approval Request</title> </head> <body> <div class="container"> <div class="row"> <div class="col"> <p style="text-align: center;"> <img src="{{asset('images/jm-logo.png')}}" alt="{{config('app.name')}}" width="200"> </p> <p style="text-align: center; font-size: 25px"> ACTION REQUIRED - Please approve your artwork for order #{{$data['order_number']}} </p> <h3>Dear {{$data['user']->name ?? ""}},</h3> <p> Your Artwork is ready to view. </p> @if(array_key_exists("templates", $data) && count($data["templates"]) > 0) <p>Please see your Artwork in the link below:</p> <ul style="padding: 0"> @foreach($data["templates"] as $template) {!! $template !!} @endforeach </ul> @endif <p> Accuracy is ultimately the customers responsibility. Please proof read all details carefully. Once you are ready click the link below to approve your artwork. If changes are necessary, please respond to this email. </p> <p style="text-align: center; font-size: 25px"> <strong><a href="https://form.jotform.com/233046478692061" style="text-decoration: underline;color: blue">CLICK HERE TO APPROVE ARTWORK</a></strong> </p> <p>Let us know if you have any questions, we are here to help!</p> <p> Warm regards, <br /> {{config('app.name')}} <br /> <a href="tel:{{$data['company_phone_1']}}">{{$data['company_phone_1']}}</a> <br> <a href="tel:{{$data['company_phone_2']}}">{{$data['company_phone_2']}}</a> </p> <p style="text-align: center; background-color: #117283; color: white;">Copyrights © 2007-{{now()->format('Y')}} J & M Trophies, All Rights Reserved | Powered by ClickySoft</p> </div> </div> </div> </body> </html> mails/order_picked_shipped.blade.php 0000644 00000003577 15021252041 0013602 0 ustar 00 <!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" /> <title>Order {{ $data['picked_shipped'] }}</title> </head> <body> <div class="container"> <div class="row"> <div class="col"> <p style="text-align: center; "> <img src="{{asset('images/jm-logo.png')}}" alt="{{config('app.name')}}" width="200"> </p> <h3>Dear {{$data['customer_name']}},</h3> <p> Exciting news! Your order <strong>#{{$data['order_number']}}</strong> with J&M Trophies has been successfully {{ $data['picked_shipped'] }}!. </p> <p> @if(isset($data['tracking_number'])) Here is the tracking info: <a href="{{$data['tracking_number']}}">Click Here</a> @else Your order has been picked up by {{$data['pickup_by']}}. @endif </p> <p> Warm regards, <br /> {{config('app.name')}} <br /> <a href="tel:{{$data['company_phone_1']}}">{{$data['company_phone_1']}}</a> <br> <a href="tel:{{$data['company_phone_2']}}">{{$data['company_phone_2']}}</a> </p> <p style="text-align: center; background-color: #117283; color: white;">Copyrights © 2007-{{now()->format('Y')}} J & M Trophies, All Rights Reserved | Powered by ClickySoft</p> </div> </div> </div> </body> </html> mails/order_cancelled_admin.blade.php 0000644 00000045474 15021252041 0013713 0 ustar 00 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="x-apple-disable-message-reformatting"> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> <title></title> <style type="text/css"> @media only screen and (min-width: 620px) { .u-row { width: 600px !important; } .u-row .u-col { vertical-align: top; } .u-row .u-col-100 { width: 600px !important; } } @media (max-width: 620px) { .u-row-container { max-width: 100% !important; padding-left: 0px !important; padding-right: 0px !important; } .u-row .u-col { min-width: 320px !important; max-width: 100% !important; display: block !important; } .u-row { width: 100% !important; } .u-col { width: 100% !important; } .u-col > div { margin: 0 auto; } } body { margin: 0; padding: 0; } table, tr, td { vertical-align: top; border-collapse: collapse; } p { margin: 0; } .ie-container table, .mso-container table { table-layout: fixed; } * { line-height: inherit; } a[x-apple-data-detectors='true'] { color: inherit !important; text-decoration: none !important; } table, td { color: #000000; } #u_body a { color: #0000ee; text-decoration: underline; } </style> <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet" type="text/css"><!--<![endif]--> </head> <body class="clean-body u_body" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #f9f9f9;color: #000000"> <!--[if IE]><div class="ie-container"><![endif]--> <!--[if mso]><div class="mso-container"><![endif]--> <table id="u_body" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #f9f9f9;width:100%" cellpadding="0" cellspacing="0"> <tbody> <tr style="vertical-align: top"> <td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #f9f9f9;"><![endif]--> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:20px;font-family:'Cabin',sans-serif;" align="left"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-right: 0px;padding-left: 0px;" align="center"> <img align="center" border="0" src="https://jmt.clickysoft.app/_next/static/media/nav-app-logo.02188e4a.svg" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 32%;max-width: 179.2px;" width="179.2"/> </td> </tr> </table> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:0px 10px 31px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #e5eaf5; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 140%;"> </p> <p style="line-height: 140%;"><span style="font-size: 28px; line-height: 39.2px;"><strong><span style="line-height: 39.2px; font-size: 28px;">Order </span></strong></span><span style="font-size: 28px; line-height: 39.2px;"><strong>Cancelled</strong></span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 22px; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="line-height: 140%;">Order {{$data['order_number']}} has been cancelled by {{$data['customer_name']}}.</p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #e5eaf5;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #e5eaf5;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="background-color: #ffffff;width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="background-color: #ffffff;height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:41px 55px 18px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #000000; line-height: 160%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 160%;"><span style="font-size: 20px; line-height: 32px;"><strong>For Contact</strong></span></p> <p style="font-size: 14px; line-height: 160%;"><span style="color: #000000; line-height: 22.4px;"><a rel="noopener" href="tel:1-800-266-1951" target="_blank" style="color: #000000;">1-800-266-1951</a></span></p> <p style="font-size: 14px; line-height: 160%;"><a rel="noopener" href="mailto:orders@jmtrophies.com" target="_blank"><span style="font-size: 16px; line-height: 25.6px; color: #000000;">orders@jmtrophies.com</span></a></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 14px; color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 14px; line-height: 0px;">Copyrights © 2007-2023 J & M Trophies, All Rights Reserved | Powered by ClickySoft</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <!--[if mso]></div><![endif]--> <!--[if IE]></div><![endif]--> </body> </html> mails/order_in_production.blade.php 0000644 00000005044 15021252041 0013472 0 ustar 00 <!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" /> <title>Order In Production</title> </head> <body> <div class="container"> <div class="row"> <div class="col"> <p style="text-align: center; "> <img src="{{asset('images/jm-logo.png')}}" alt="{{config('app.name')}}" width="200"> </p> <h3>Dear {{$data['customer_name']}},</h3> <p> We are thrilled to share an exciting update regarding your order <strong>{{$data['order_number']}}</strong> with <strong>{{config('app.name')}}</strong>. We are delighted to inform you that your order has entered the production phase, marking a significant milestone in bringing your vision to life. </p> <p> Our skilled team has carefully reviewed your requirements and is now diligently working to craft your order with precision and attention to detail. We understand the importance of delivering a product that exceeds your expectations, and our commitment to quality is at the forefront of our production process. </p> <p> As your order progresses, we will continue to provide updates on its status. Should you have any questions or require further information during this exciting process, please do not hesitate to reach out to our dedicated customer support team. </p> <p> Warm regards, <br /> {{config('app.name')}} <br /> <a href="tel:{{$data['company_phone_1']}}">{{$data['company_phone_1']}}</a> <br> <a href="tel:{{$data['company_phone_2']}}">{{$data['company_phone_2']}}</a> </p> <p style="text-align: center; background-color: #117283; color: white;">Copyrights © 2007-{{now()->format('Y')}} J & M Trophies, All Rights Reserved | Powered by ClickySoft</p> </div> </div> </div> </body> </html> mails/order_completed.blade.php 0000644 00000005732 15021252041 0012576 0 ustar 00 <!DOCTYPE html> <html lang="en"> <head> <!-- Required meta tags --> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" /> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.3.1/dist/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous" /> <title>Order Completed</title> </head> <body> <div class="container"> <div class="row"> <div class="col"> <p style="text-align: center; "> <img src="{{asset('images/jm-logo.png')}}" alt="{{config('app.name')}}" width="200"> </p> <h3>Dear {{$data['customer_name']}},</h3> <p> Exciting news! Your order <strong>#{{$data['order_number']}}</strong> with J&M Trophies has been successfully completed! If you have not done so, please pay the reminder of your order now. </p> <p> <strong>Payment Details</strong> <br> @foreach($data['payment_details'] ?? [] as $key => $value) @if($key == 'Invoice URL') <p style="text-align: center"> <a href="{{$value}}" style="display: inline-block;margin-top: 10px;padding: 10px 35px;text-decoration: underline;font-weight: bold;font-size: 25px;color: blue">CLICK HERE TO PAY</a> </p> @else {{$key. ": " . $value}}<br> @endif @endforeach <br> <strong>Billing Details</strong> <br> @foreach($data['billing_details'] ?? [] as $key => $value) {{$key. ": " .$value}} <br> @endforeach <br> <strong>Delivery Details</strong> <br> Delivery Type: {{$data['delivery_type']}} <br> @foreach($data['delivery_details'] ?? [] as $key => $value) {{$key. ": " .$value}} <br> @endforeach <br> </p> <p> Should you have any questions or require further assistance, please do not hesitate to reach out to our dedicated customer support team. We are here to ensure your complete satisfaction and address any inquiries you may have. </p> <p> Warm regards, <br /> {{config('app.name')}} <br /> <a href="tel:{{$data['company_phone_1']}}">{{$data['company_phone_1']}}</a> <br> <a href="tel:{{$data['company_phone_2']}}">{{$data['company_phone_2']}}</a> </p> <p style="text-align: center; background-color: #117283; color: white;">Copyrights © 2007-{{now()->format('Y')}} J & M Trophies, All Rights Reserved | Powered by ClickySoft</p> </div> </div> </div> </body> </html> mails/purchase_order.blade.php 0000644 00000116774 15021252041 0012445 0 ustar 00 <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional //EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"> <head> <!--[if gte mso 9]> <xml> <o:OfficeDocumentSettings> <o:AllowPNG/> <o:PixelsPerInch>96</o:PixelsPerInch> </o:OfficeDocumentSettings> </xml> <![endif]--> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="x-apple-disable-message-reformatting"> <!--[if !mso]><!--><meta http-equiv="X-UA-Compatible" content="IE=edge"><!--<![endif]--> <title></title> <style type="text/css"> @media only screen and (min-width: 620px) { .u-row { width: 600px !important; } .u-row .u-col { vertical-align: top; } .u-row .u-col-100 { width: 600px !important; } } @media (max-width: 620px) { .u-row-container { max-width: 100% !important; padding-left: 0px !important; padding-right: 0px !important; } .u-row .u-col { min-width: 320px !important; max-width: 100% !important; display: block !important; } .u-row { width: 100% !important; } .u-col { width: 100% !important; } .u-col > div { margin: 0 auto; } } body { margin: 0; padding: 0; } table, tr, td { vertical-align: top; border-collapse: collapse; } p { margin: 0; } .ie-container table, .mso-container table { table-layout: fixed; } * { line-height: inherit; } a[x-apple-data-detectors='true'] { color: inherit !important; text-decoration: none !important; } table, td { color: #000000; } #u_body a { color: #0000ee; text-decoration: underline; } </style> <!--[if !mso]><!--><link href="https://fonts.googleapis.com/css?family=Cabin:400,700" rel="stylesheet" type="text/css"><!--<![endif]--> </head> <body class="clean-body u_body" style="margin: 0;padding: 0;-webkit-text-size-adjust: 100%;background-color: #f9f9f9;color: #000000"> <!--[if IE]><div class="ie-container"><![endif]--> <!--[if mso]><div class="mso-container"><![endif]--> <table id="u_body" style="border-collapse: collapse;table-layout: fixed;border-spacing: 0;mso-table-lspace: 0pt;mso-table-rspace: 0pt;vertical-align: top;min-width: 320px;Margin: 0 auto;background-color: #f9f9f9;width:100%" cellpadding="0" cellspacing="0"> <tbody> <tr style="vertical-align: top"> <td style="word-break: break-word;border-collapse: collapse !important;vertical-align: top"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td align="center" style="background-color: #f9f9f9;"><![endif]--> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:20px;font-family:'Cabin',sans-serif;" align="left"> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td style="padding-right: 0px;padding-left: 0px;" align="center"> <img align="center" border="0" src="https://jmt.clickysoft.app/_next/static/media/nav-app-logo.02188e4a.svg" alt="Image" title="Image" style="outline: none;text-decoration: none;-ms-interpolation-mode: bicubic;clear: both;display: inline-block !important;border: none;height: auto;float: none;width: 32%;max-width: 179.2px;" width="179.2"/> </td> </tr> </table> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:0px 10px 31px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #e5eaf5; line-height: 140%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 140%;"> </p> <p style="font-size: 14px; line-height: 140%;"><span style="font-size: 28px; line-height: 39.2px;"><strong><span style="line-height: 39.2px; font-size: 28px;">Purchase Order Summary</span></strong></span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #ffffff;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #ffffff;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Order Number:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['p_order']->order_number}} </td> </tr> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Payment Terms:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['p_order']->payment_terms}} </td> </tr> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Reference:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['p_order']->reference ?? 'N/A'}} </td> </tr> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Account Number:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['account_number'] ?? 'N/A'}} </td> </tr> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Shipping Address:</strong> </td> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['p_order']->shipping_address}} </td> </tr> <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Billing Address:</strong> </td> <td style=";overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['p_order']->billing_address}} </td> </tr> @if(strlen($data['p_order']->special_notes) > 0) <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Special Notes:</strong> </td> </tr> @else <tr> <td style="width:42%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Special Notes:</strong> </td> <td style=";overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> N/A </td> </tr> @endif </tbody> </table> @if(strlen($data['p_order']->special_notes) > 0) <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;"> {{$data['p_order']->special_notes}} </td> </tr> </tbody> </table> @endif <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: transparent;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: transparent;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 16px; line-height: 28.8px; color: #000000;">Product Details</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #e5eaf5;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #e5eaf5;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="background-color: #ffffff;width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="background-color: #ffffff;height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="width:30%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Product Number</strong> </td> <td style="width:30%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Quantity</strong> </td> </tr> @if(isset($data['p_order_products'])) @foreach($data['p_order_products'] as $product) <tr> <td style="width:30%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$product['product_number']}} </td> <td style="width:30%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$product['quantity']}} </td> </tr> @endforeach @endif @if(isset($data['os_products'])) @foreach($data['os_products'] as $product) <tr> <td style="width:30%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$product['product_number']}} </td> <td style="width:30%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$product['quantity']}} </td> </tr> @endforeach @endif <tr> <td style="width:30%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Total Quantity:</strong> </td> <td style="width:30%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{$data['p_order']->total_quantity}} </td> </tr> <tr> <td style="width:30%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> <strong>Sub Total:</strong> </td> <td style="width:30%;overflow-wrap:break-word;word-break:break-word;padding:5px 55px;font-family:\'Cabin\',sans-serif;" align="left"> {{'$'.number_format($data['p_order']->total_price, 2)}} </td> </tr> </tbody> </table> <table style="font-family:\'Cabin\',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:\'Cabin\',sans-serif;" align="left"> <div style="text-align:center;line-height:0"> <div style="border-top-width:1px;border-top-style:solid;border-top-color:#BBBBBB;width:100%;display:inline-block;line-height:1px;height:0px;vertical-align:middle"> </div> </div> </td> </tr> </tbody> </table> </div> </td> </tr> </tbody> </table> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:41px 55px 18px;font-family:'Cabin',sans-serif;" align="left"> <div style="color: #000000; line-height: 160%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 160%;"><span style="font-size: 20px; line-height: 32px;"><strong>For Contact</strong></span></p> <p style="font-size: 14px; line-height: 160%;"><span style="color: #000000; line-height: 22.4px;"><a rel="noopener" href="tel:1-800-266-1951" target="_blank" style="color: #000000;">1-800-266-1951</a></span></p> <p style="font-size: 14px; line-height: 160%;"><a rel="noopener" href="mailto:orders@jmtrophies.com" target="_blank"><span style="font-size: 16px; line-height: 25.6px; color: #000000;">orders@jmtrophies.com</span></a></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <div class="u-row-container" style="padding: 0px;background-color: transparent"> <div class="u-row" style="Margin: 0 auto;min-width: 320px;max-width: 600px;overflow-wrap: break-word;word-wrap: break-word;word-break: break-word;background-color: #117283;"> <div style="border-collapse: collapse;display: table;width: 100%;height: 100%;background-color: transparent;"> <!--[if (mso)|(IE)]><table width="100%" cellpadding="0" cellspacing="0" border="0"><tr><td style="padding: 0px;background-color: transparent;" align="center"><table cellpadding="0" cellspacing="0" border="0" style="width:600px;"><tr style="background-color: #117283;"><![endif]--> <!--[if (mso)|(IE)]><td align="center" width="600" style="width: 600px;padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;" valign="top"><![endif]--> <div class="u-col u-col-100" style="max-width: 320px;min-width: 600px;display: table-cell;vertical-align: top;"> <div style="height: 100%;width: 100% !important;"> <!--[if (!mso)&(!IE)]><!--><div style="box-sizing: border-box; height: 100%; padding: 0px;border-top: 0px solid transparent;border-left: 0px solid transparent;border-right: 0px solid transparent;border-bottom: 0px solid transparent;"><!--<![endif]--> <table style="font-family:'Cabin',sans-serif;" role="presentation" cellpadding="0" cellspacing="0" width="100%" border="0"> <tbody> <tr> <td style="overflow-wrap:break-word;word-break:break-word;padding:10px;font-family:'Cabin',sans-serif;" align="left"> <div style="font-size: 14px; color: #fafafa; line-height: 180%; text-align: center; word-wrap: break-word;"> <p style="font-size: 14px; line-height: 180%;"><span style="font-size: 14px; line-height: 0px;">Copyrights © 2007-2023 J & M Trophies, All Rights Reserved | Powered by ClickySoft</span></p> </div> </td> </tr> </tbody> </table> <!--[if (!mso)&(!IE)]><!--></div><!--<![endif]--> </div> </div> <!--[if (mso)|(IE)]></td><![endif]--> <!--[if (mso)|(IE)]></tr></table></td></tr></table><![endif]--> </div> </div> </div> <!--[if (mso)|(IE)]></td></tr></table><![endif]--> </td> </tr> </tbody> </table> <!--[if mso]></div><![endif]--> <!--[if IE]></div><![endif]--> </body> </html> users/relationships/assignedToOrders.blade.php 0000644 00000020700 15021252041 0015616 0 ustar 00 <div class="m-3"> @can('order_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.orders.create') }}"> {{ trans('global.add') }} {{ trans('cruds.order.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.order.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <div class="table-responsive"> <table class=" table table-bordered table-striped table-hover datatable datatable-assignedToOrders"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.order.fields.id') }} </th> <th> {{ trans('cruds.order.fields.user') }} </th> <th> {{ trans('cruds.user.fields.email') }} </th> <th> {{ trans('cruds.order.fields.order_number') }} </th> <th> {{ trans('cruds.order.fields.current_status') }} </th> <th> {{ trans('cruds.order.fields.assigned_to') }} </th> <th> {{ trans('cruds.user.fields.email') }} </th> <th> {{ trans('cruds.order.fields.admin_approved') }} </th> <th> {{ trans('cruds.order.fields.shipping_address') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <th> {{ trans('cruds.order.fields.billing_address') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <th> {{ trans('cruds.order.fields.payment_status') }} </th> <th> {{ trans('cruds.order.fields.payment_type') }} </th> <th> </th> </tr> </thead> <tbody> @foreach($orders as $key => $order) <tr data-entry-id="{{ $order->id }}"> <td> </td> <td> {{ $order->id ?? '' }} </td> <td> {{ $order->user->name ?? '' }} </td> <td> {{ $order->user->email ?? '' }} </td> <td> {{ $order->order_number ?? '' }} </td> <td> {{ $order->current_status->name ?? '' }} </td> <td> {{ $order->assigned_to->name ?? '' }} </td> <td> {{ $order->assigned_to->email ?? '' }} </td> <td> <span style="display:none">{{ $order->admin_approved ?? '' }}</span> <input type="checkbox" disabled="disabled" {{ $order->admin_approved ? 'checked' : '' }}> </td> <td> {{ $order->shipping_address->contact_person ?? '' }} </td> <td> {{ $order->shipping_address->address_line_1 ?? '' }} </td> <td> {{ $order->billing_address->contact_person ?? '' }} </td> <td> {{ $order->billing_address->address_line_1 ?? '' }} </td> <td> {{ App\Models\Order::PAYMENT_STATUS_RADIO[$order->payment_status] ?? '' }} </td> <td> {{ App\Models\Order::PAYMENT_TYPE_RADIO[$order->payment_type] ?? '' }} </td> <td> @can('order_show') <a class="btn btn-xs btn-primary" href="{{ route('admin.orders.show', $order->id) }}"> {{ trans('global.view') }} </a> @endcan @can('order_edit') <a class="btn btn-xs btn-info" href="{{ route('admin.orders.edit', $order->id) }}"> {{ trans('global.edit') }} </a> @endcan @can('order_delete') <form action="{{ route('admin.orders.destroy', $order->id) }}" method="POST" onsubmit="return confirm('{{ trans('global.areYouSure') }}');" style="display: inline-block;"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="submit" class="btn btn-xs btn-danger" value="{{ trans('global.delete') }}"> </form> @endcan </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('order_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}' let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.orders.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).nodes(), function (entry) { return $(entry).data('entry-id') }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan $.extend(true, $.fn.dataTable.defaults, { orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }); let table = $('.datatable-assignedToOrders:not(.ajaxTable)').DataTable({ buttons: dtButtons }) $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); }) </script> @endsection users/relationships/userAddressBooks.blade.php 0000644 00000016502 15021252041 0015626 0 ustar 00 <div class="m-3"> @can('address_book_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.address-books.create') }}"> {{ trans('global.add') }} {{ trans('cruds.addressBook.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.addressBook.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <div class="table-responsive"> <table class=" table table-bordered table-striped table-hover datatable datatable-userAddressBooks"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.addressBook.fields.id') }} </th> <th> {{ trans('cruds.addressBook.fields.user') }} </th> <th> {{ trans('cruds.addressBook.fields.contact_person') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_2') }} </th> <th> {{ trans('cruds.addressBook.fields.city') }} </th> <th> {{ trans('cruds.addressBook.fields.state') }} </th> <th> {{ trans('cruds.addressBook.fields.country') }} </th> <th> {{ trans('cruds.addressBook.fields.zip_code') }} </th> <th> {{ trans('cruds.addressBook.fields.is_default') }} </th> <th> </th> </tr> </thead> <tbody> @foreach($addressBooks as $key => $addressBook) <tr data-entry-id="{{ $addressBook->id }}"> <td> </td> <td> {{ $addressBook->id ?? '' }} </td> <td> {{ $addressBook->user->name ?? '' }} </td> <td> {{ $addressBook->contact_person ?? '' }} </td> <td> {{ $addressBook->address_line_1 ?? '' }} </td> <td> {{ $addressBook->address_line_2 ?? '' }} </td> <td> {{ $addressBook->city ?? '' }} </td> <td> {{ $addressBook->state ?? '' }} </td> <td> {{ $addressBook->country ?? '' }} </td> <td> {{ $addressBook->zip_code ?? '' }} </td> <td> <span style="display:none">{{ $addressBook->is_default ?? '' }}</span> <input type="checkbox" disabled="disabled" {{ $addressBook->is_default ? 'checked' : '' }}> </td> <td> @can('address_book_show') <a class="btn btn-xs btn-primary" href="{{ route('admin.address-books.show', $addressBook->id) }}"> {{ trans('global.view') }} </a> @endcan @can('address_book_edit') <a class="btn btn-xs btn-info" href="{{ route('admin.address-books.edit', $addressBook->id) }}"> {{ trans('global.edit') }} </a> @endcan @can('address_book_delete') <form action="{{ route('admin.address-books.destroy', $addressBook->id) }}" method="POST" onsubmit="return confirm('{{ trans('global.areYouSure') }}');" style="display: inline-block;"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="submit" class="btn btn-xs btn-danger" value="{{ trans('global.delete') }}"> </form> @endcan </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('address_book_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}' let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.address-books.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).nodes(), function (entry) { return $(entry).data('entry-id') }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan $.extend(true, $.fn.dataTable.defaults, { orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }); let table = $('.datatable-userAddressBooks:not(.ajaxTable)').DataTable({ buttons: dtButtons }) $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); }) </script> @endsection users/relationships/userOrders.blade.php 0000644 00000020664 15021252041 0014505 0 ustar 00 <div class="m-3"> @can('order_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.orders.create') }}"> {{ trans('global.add') }} {{ trans('cruds.order.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.order.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <div class="table-responsive"> <table class=" table table-bordered table-striped table-hover datatable datatable-userOrders"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.order.fields.id') }} </th> <th> {{ trans('cruds.order.fields.user') }} </th> <th> {{ trans('cruds.user.fields.email') }} </th> <th> {{ trans('cruds.order.fields.order_number') }} </th> <th> {{ trans('cruds.order.fields.current_status') }} </th> <th> {{ trans('cruds.order.fields.assigned_to') }} </th> <th> {{ trans('cruds.user.fields.email') }} </th> <th> {{ trans('cruds.order.fields.admin_approved') }} </th> <th> {{ trans('cruds.order.fields.shipping_address') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <th> {{ trans('cruds.order.fields.billing_address') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <th> {{ trans('cruds.order.fields.payment_status') }} </th> <th> {{ trans('cruds.order.fields.payment_type') }} </th> <th> </th> </tr> </thead> <tbody> @foreach($orders as $key => $order) <tr data-entry-id="{{ $order->id }}"> <td> </td> <td> {{ $order->id ?? '' }} </td> <td> {{ $order->user->name ?? '' }} </td> <td> {{ $order->user->email ?? '' }} </td> <td> {{ $order->order_number ?? '' }} </td> <td> {{ $order->current_status->name ?? '' }} </td> <td> {{ $order->assigned_to->name ?? '' }} </td> <td> {{ $order->assigned_to->email ?? '' }} </td> <td> <span style="display:none">{{ $order->admin_approved ?? '' }}</span> <input type="checkbox" disabled="disabled" {{ $order->admin_approved ? 'checked' : '' }}> </td> <td> {{ $order->shipping_address->contact_person ?? '' }} </td> <td> {{ $order->shipping_address->address_line_1 ?? '' }} </td> <td> {{ $order->billing_address->contact_person ?? '' }} </td> <td> {{ $order->billing_address->address_line_1 ?? '' }} </td> <td> {{ App\Models\Order::PAYMENT_STATUS_RADIO[$order->payment_status] ?? '' }} </td> <td> {{ App\Models\Order::PAYMENT_TYPE_RADIO[$order->payment_type] ?? '' }} </td> <td> @can('order_show') <a class="btn btn-xs btn-primary" href="{{ route('admin.orders.show', $order->id) }}"> {{ trans('global.view') }} </a> @endcan @can('order_edit') <a class="btn btn-xs btn-info" href="{{ route('admin.orders.edit', $order->id) }}"> {{ trans('global.edit') }} </a> @endcan @can('order_delete') <form action="{{ route('admin.orders.destroy', $order->id) }}" method="POST" onsubmit="return confirm('{{ trans('global.areYouSure') }}');" style="display: inline-block;"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="submit" class="btn btn-xs btn-danger" value="{{ trans('global.delete') }}"> </form> @endcan </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('order_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}' let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.orders.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).nodes(), function (entry) { return $(entry).data('entry-id') }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan $.extend(true, $.fn.dataTable.defaults, { orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }); let table = $('.datatable-userOrders:not(.ajaxTable)').DataTable({ buttons: dtButtons }) $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); }) </script> @endsection users/edit.blade.php 0000644 00000021474 15021252041 0010411 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.user.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.users.update", [$user->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="name">{{ trans('cruds.user.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', $user->name) }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.name_helper') }}</span> </div> <div class="form-group"> <label class="required" for="email">{{ trans('cruds.user.fields.email') }}</label> <input class="form-control {{ $errors->has('email') ? 'is-invalid' : '' }}" type="email" name="email" id="email" value="{{ old('email', $user->email) }}" required> @if($errors->has('email')) <span class="text-danger">{{ $errors->first('email') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.email_helper') }}</span> </div> <div class="form-group"> <label class="required" for="password">{{ trans('cruds.user.fields.password') }}</label> <input class="form-control {{ $errors->has('password') ? 'is-invalid' : '' }}" type="password" name="password" id="password"> @if($errors->has('password')) <span class="text-danger">{{ $errors->first('password') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.password_helper') }}</span> </div> <div class="form-group"> <label for="profile_image">{{ trans('cruds.user.fields.profile_image') }}</label> <div class="needsclick dropzone {{ $errors->has('profile_image') ? 'is-invalid' : '' }}" id="profile_image-dropzone"> </div> @if($errors->has('profile_image')) <span class="text-danger">{{ $errors->first('profile_image') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.profile_image_helper') }}</span> </div> <div class="form-group"> <label class="required" for="roles">{{ trans('cruds.user.fields.roles') }}</label> <div style="padding-bottom: 4px"> <span class="btn btn-info btn-xs select-all" style="border-radius: 0">{{ trans('global.select_all') }}</span> <span class="btn btn-info btn-xs deselect-all" style="border-radius: 0">{{ trans('global.deselect_all') }}</span> </div> <select class="form-control select2 {{ $errors->has('roles') ? 'is-invalid' : '' }}" name="roles[]" id="roles" multiple required> @foreach($roles as $id => $role) <option value="{{ $id }}" {{ (in_array($id, old('roles', [])) || $user->roles->contains($id)) ? 'selected' : '' }}>{{ $role }}</option> @endforeach </select> @if($errors->has('roles')) <span class="text-danger">{{ $errors->first('roles') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.roles_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.user.fields.user_type') }}</label> @foreach(App\Models\User::USER_TYPE_RADIO as $key => $label) <div class="form-check {{ $errors->has('user_type') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="user_type_{{ $key }}" name="user_type" value="{{ $key }}" {{ old('user_type', $user->user_type) === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="user_type_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('user_type')) <span class="text-danger">{{ $errors->first('user_type') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.user_type_helper') }}</span> </div> <div class="form-group"> <label for="clock_in">{{ trans('cruds.user.fields.clock_in') }}</label> <input class="form-control timepicker {{ $errors->has('clock_in') ? 'is-invalid' : '' }}" type="text" name="clock_in" id="clock_in" value="{{ old('clock_in', $user->clock_in) }}"> @if($errors->has('clock_in')) <span class="text-danger">{{ $errors->first('clock_in') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.clock_in_helper') }}</span> </div> <div class="form-group"> <label for="clock_out">{{ trans('cruds.user.fields.clock_out') }}</label> <input class="form-control timepicker {{ $errors->has('clock_out') ? 'is-invalid' : '' }}" type="text" name="clock_out" id="clock_out" value="{{ old('clock_out', $user->clock_out) }}"> @if($errors->has('clock_out')) <span class="text-danger">{{ $errors->first('clock_out') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.clock_out_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.user.fields.status') }}</label> @foreach(App\Models\User::STATUS_RADIO as $key => $label) <div class="form-check {{ $errors->has('status') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="status_{{ $key }}" name="status" value="{{ $key }}" {{ old('status', $user->status) === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="status_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('status')) <span class="text-danger">{{ $errors->first('status') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.status_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection @section('scripts') <script> Dropzone.options.profileImageDropzone = { url: '{{ route('admin.users.storeMedia') }}', maxFilesize: 2, // MB acceptedFiles: '.jpeg,.jpg,.png,.gif', maxFiles: 1, addRemoveLinks: true, headers: { 'X-CSRF-TOKEN': "{{ csrf_token() }}" }, params: { size: 2, width: 4096, height: 4096 }, success: function (file, response) { $('form').find('input[name="profile_image"]').remove() $('form').append('<input type="hidden" name="profile_image" value="' + response.name + '">') }, removedfile: function (file) { file.previewElement.remove() if (file.status !== 'error') { $('form').find('input[name="profile_image"]').remove() this.options.maxFiles = this.options.maxFiles + 1 } }, init: function () { @if(isset($user) && $user->profile_image) var file = {!! json_encode($user->profile_image) !!} this.options.addedfile.call(this, file) this.options.thumbnail.call(this, file, file.preview ?? file.preview_url) file.previewElement.classList.add('dz-complete') $('form').append('<input type="hidden" name="profile_image" value="' + file.file_name + '">') this.options.maxFiles = this.options.maxFiles - 1 @endif }, error: function (file, response) { if ($.type(response) === 'string') { var message = response //dropzone sends it's own error messages in string } else { var message = response.errors.file } file.previewElement.classList.add('dz-error') _ref = file.previewElement.querySelectorAll('[data-dz-errormessage]') _results = [] for (_i = 0, _len = _ref.length; _i < _len; _i++) { node = _ref[_i] _results.push(node.textContent = message) } return _results } } </script> @endsection users/index.blade.php 0000644 00000015466 15021252041 0010577 0 ustar 00 @extends('layouts.admin') @section('content') @can('user_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.users.create') }}"> {{ trans('global.add') }} {{ trans('cruds.user.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.user.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-User"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.user.fields.id') }} </th> <th> {{ trans('cruds.user.fields.name') }} </th> <th> {{ trans('cruds.user.fields.email') }} </th> <th> {{ trans('cruds.user.fields.email_verified_at') }} </th> <th> {{ trans('cruds.user.fields.profile_image') }} </th> <th> {{ trans('cruds.user.fields.roles') }} </th> <th> {{ trans('cruds.user.fields.user_type') }} </th> <th> {{ trans('cruds.user.fields.clock_in') }} </th> <th> {{ trans('cruds.user.fields.clock_out') }} </th> <th> {{ trans('cruds.user.fields.status') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($roles as $key => $item) <option value="{{ $item->title }}">{{ $item->title }}</option> @endforeach </select> </td> <td> <select class="search" strict="true"> <option value>{{ trans('global.all') }}</option> @foreach(App\Models\User::USER_TYPE_RADIO as $key => $item) <option value="{{ $key }}">{{ $item }}</option> @endforeach </select> </td> <td> </td> <td> </td> <td> <select class="search" strict="true"> <option value>{{ trans('global.all') }}</option> @foreach(App\Models\User::STATUS_RADIO as $key => $item) <option value="{{ $key }}">{{ $item }}</option> @endforeach </select> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('user_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.users.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.users.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'name', name: 'name' }, { data: 'email', name: 'email' }, { data: 'email_verified_at', name: 'email_verified_at' }, { data: 'profile_image', name: 'profile_image', sortable: false, searchable: false }, { data: 'roles', name: 'roles.title' }, { data: 'user_type', name: 'user_type' }, { data: 'clock_in', name: 'clock_in' }, { data: 'clock_out', name: 'clock_out' }, { data: 'status', name: 'status' }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-User').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection users/show.blade.php 0000644 00000013014 15021252041 0010433 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.user.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.users.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.user.fields.id') }} </th> <td> {{ $user->id }} </td> </tr> <tr> <th> {{ trans('cruds.user.fields.name') }} </th> <td> {{ $user->name }} </td> </tr> <tr> <th> {{ trans('cruds.user.fields.email') }} </th> <td> {{ $user->email }} </td> </tr> <tr> <th> {{ trans('cruds.user.fields.email_verified_at') }} </th> <td> {{ $user->email_verified_at }} </td> </tr> <tr> <th> {{ trans('cruds.user.fields.profile_image') }} </th> <td> @if($user->profile_image) <a href="{{ $user->profile_image->getUrl() }}" target="_blank" style="display: inline-block"> <img src="{{ $user->profile_image->getUrl('thumb') }}"> </a> @endif </td> </tr> <tr> <th> {{ trans('cruds.user.fields.roles') }} </th> <td> @foreach($user->roles as $key => $roles) <span class="label label-info">{{ $roles->title }}</span> @endforeach </td> </tr> <tr> <th> {{ trans('cruds.user.fields.user_type') }} </th> <td> {{ App\Models\User::USER_TYPE_RADIO[$user->user_type] ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.user.fields.clock_in') }} </th> <td> {{ $user->clock_in }} </td> </tr> <tr> <th> {{ trans('cruds.user.fields.clock_out') }} </th> <td> {{ $user->clock_out }} </td> </tr> <tr> <th> {{ trans('cruds.user.fields.status') }} </th> <td> {{ App\Models\User::STATUS_RADIO[$user->status] ?? '' }} </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.users.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> <div class="card"> <div class="card-header"> {{ trans('global.relatedData') }} </div> <ul class="nav nav-tabs" role="tablist" id="relationship-tabs"> <li class="nav-item"> <a class="nav-link" href="#user_address_books" role="tab" data-toggle="tab"> {{ trans('cruds.addressBook.title') }} </a> </li> <li class="nav-item"> <a class="nav-link" href="#user_orders" role="tab" data-toggle="tab"> {{ trans('cruds.order.title') }} </a> </li> <li class="nav-item"> <a class="nav-link" href="#assigned_to_orders" role="tab" data-toggle="tab"> {{ trans('cruds.order.title') }} </a> </li> </ul> <div class="tab-content"> <div class="tab-pane" role="tabpanel" id="user_address_books"> @includeIf('admin.users.relationships.userAddressBooks', ['addressBooks' => $user->userAddressBooks]) </div> <div class="tab-pane" role="tabpanel" id="user_orders"> @includeIf('admin.users.relationships.userOrders', ['orders' => $user->userOrders]) </div> <div class="tab-pane" role="tabpanel" id="assigned_to_orders"> @includeIf('admin.users.relationships.assignedToOrders', ['orders' => $user->assignedToOrders]) </div> </div> </div> @endsection users/create.blade.php 0000644 00000021254 15021252041 0010723 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.user.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.users.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="name">{{ trans('cruds.user.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', '') }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.name_helper') }}</span> </div> <div class="form-group"> <label class="required" for="email">{{ trans('cruds.user.fields.email') }}</label> <input class="form-control {{ $errors->has('email') ? 'is-invalid' : '' }}" type="email" name="email" id="email" value="{{ old('email') }}" required> @if($errors->has('email')) <span class="text-danger">{{ $errors->first('email') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.email_helper') }}</span> </div> <div class="form-group"> <label class="required" for="password">{{ trans('cruds.user.fields.password') }}</label> <input class="form-control {{ $errors->has('password') ? 'is-invalid' : '' }}" type="password" name="password" id="password" required> @if($errors->has('password')) <span class="text-danger">{{ $errors->first('password') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.password_helper') }}</span> </div> <div class="form-group"> <label for="profile_image">{{ trans('cruds.user.fields.profile_image') }}</label> <div class="needsclick dropzone {{ $errors->has('profile_image') ? 'is-invalid' : '' }}" id="profile_image-dropzone"> </div> @if($errors->has('profile_image')) <span class="text-danger">{{ $errors->first('profile_image') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.profile_image_helper') }}</span> </div> <div class="form-group"> <label class="required" for="roles">{{ trans('cruds.user.fields.roles') }}</label> <div style="padding-bottom: 4px"> <span class="btn btn-info btn-xs select-all" style="border-radius: 0">{{ trans('global.select_all') }}</span> <span class="btn btn-info btn-xs deselect-all" style="border-radius: 0">{{ trans('global.deselect_all') }}</span> </div> <select class="form-control select2 {{ $errors->has('roles') ? 'is-invalid' : '' }}" name="roles[]" id="roles" multiple required> @foreach($roles as $id => $role) <option value="{{ $id }}" {{ in_array($id, old('roles', [])) ? 'selected' : '' }}>{{ $role }}</option> @endforeach </select> @if($errors->has('roles')) <span class="text-danger">{{ $errors->first('roles') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.roles_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.user.fields.user_type') }}</label> @foreach(App\Models\User::USER_TYPE_RADIO as $key => $label) <div class="form-check {{ $errors->has('user_type') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="user_type_{{ $key }}" name="user_type" value="{{ $key }}" {{ old('user_type', '3') === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="user_type_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('user_type')) <span class="text-danger">{{ $errors->first('user_type') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.user_type_helper') }}</span> </div> <div class="form-group"> <label for="clock_in">{{ trans('cruds.user.fields.clock_in') }}</label> <input class="form-control timepicker {{ $errors->has('clock_in') ? 'is-invalid' : '' }}" type="text" name="clock_in" id="clock_in" value="{{ old('clock_in') }}"> @if($errors->has('clock_in')) <span class="text-danger">{{ $errors->first('clock_in') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.clock_in_helper') }}</span> </div> <div class="form-group"> <label for="clock_out">{{ trans('cruds.user.fields.clock_out') }}</label> <input class="form-control timepicker {{ $errors->has('clock_out') ? 'is-invalid' : '' }}" type="text" name="clock_out" id="clock_out" value="{{ old('clock_out') }}"> @if($errors->has('clock_out')) <span class="text-danger">{{ $errors->first('clock_out') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.clock_out_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.user.fields.status') }}</label> @foreach(App\Models\User::STATUS_RADIO as $key => $label) <div class="form-check {{ $errors->has('status') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="status_{{ $key }}" name="status" value="{{ $key }}" {{ old('status', '1') === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="status_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('status')) <span class="text-danger">{{ $errors->first('status') }}</span> @endif <span class="help-block">{{ trans('cruds.user.fields.status_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection @section('scripts') <script> Dropzone.options.profileImageDropzone = { url: '{{ route('admin.users.storeMedia') }}', maxFilesize: 2, // MB acceptedFiles: '.jpeg,.jpg,.png,.gif', maxFiles: 1, addRemoveLinks: true, headers: { 'X-CSRF-TOKEN': "{{ csrf_token() }}" }, params: { size: 2, width: 4096, height: 4096 }, success: function (file, response) { $('form').find('input[name="profile_image"]').remove() $('form').append('<input type="hidden" name="profile_image" value="' + response.name + '">') }, removedfile: function (file) { file.previewElement.remove() if (file.status !== 'error') { $('form').find('input[name="profile_image"]').remove() this.options.maxFiles = this.options.maxFiles + 1 } }, init: function () { @if(isset($user) && $user->profile_image) var file = {!! json_encode($user->profile_image) !!} this.options.addedfile.call(this, file) this.options.thumbnail.call(this, file, file.preview ?? file.preview_url) file.previewElement.classList.add('dz-complete') $('form').append('<input type="hidden" name="profile_image" value="' + file.file_name + '">') this.options.maxFiles = this.options.maxFiles - 1 @endif }, error: function (file, response) { if ($.type(response) === 'string') { var message = response //dropzone sends it's own error messages in string } else { var message = response.errors.file } file.previewElement.classList.add('dz-error') _ref = file.previewElement.querySelectorAll('[data-dz-errormessage]') _results = [] for (_i = 0, _len = _ref.length; _i < _len; _i++) { node = _ref[_i] _results.push(node.textContent = message) } return _results } } </script> @endsection products/relationships/productProductPrices.blade.php 0000644 00000014016 15021252041 0017233 0 ustar 00 <div class="m-3"> @can('product_price_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.product-prices.create') }}"> {{ trans('global.add') }} {{ trans('cruds.productPrice.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.productPrice.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <div class="table-responsive"> <table class=" table table-bordered table-striped table-hover datatable datatable-productProductPrices"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.productPrice.fields.id') }} </th> <th> {{ trans('cruds.productPrice.fields.product') }} </th> <th> {{ trans('cruds.product.fields.name') }} </th> <th> {{ trans('cruds.productPrice.fields.qty_from') }} </th> <th> {{ trans('cruds.productPrice.fields.qty_to') }} </th> <th> {{ trans('cruds.productPrice.fields.price') }} </th> <th> </th> </tr> </thead> <tbody> @foreach($productPrices as $key => $productPrice) <tr data-entry-id="{{ $productPrice->id }}"> <td> </td> <td> {{ $productPrice->id ?? '' }} </td> <td> {{ $productPrice->product->name ?? '' }} </td> <td> {{ $productPrice->product->name ?? '' }} </td> <td> {{ $productPrice->qty_from ?? '' }} </td> <td> {{ $productPrice->qty_to ?? '' }} </td> <td> {{ $productPrice->price ?? '' }} </td> <td> @can('product_price_show') <a class="btn btn-xs btn-primary" href="{{ route('admin.product-prices.show', $productPrice->id) }}"> {{ trans('global.view') }} </a> @endcan @can('product_price_edit') <a class="btn btn-xs btn-info" href="{{ route('admin.product-prices.edit', $productPrice->id) }}"> {{ trans('global.edit') }} </a> @endcan @can('product_price_delete') <form action="{{ route('admin.product-prices.destroy', $productPrice->id) }}" method="POST" onsubmit="return confirm('{{ trans('global.areYouSure') }}');" style="display: inline-block;"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="submit" class="btn btn-xs btn-danger" value="{{ trans('global.delete') }}"> </form> @endcan </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('product_price_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}' let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.product-prices.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).nodes(), function (entry) { return $(entry).data('entry-id') }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan $.extend(true, $.fn.dataTable.defaults, { orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }); let table = $('.datatable-productProductPrices:not(.ajaxTable)').DataTable({ buttons: dtButtons }) $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); }) </script> @endsection products/edit.blade.php 0000644 00000030230 15021252041 0011101 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.product.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.products.update", [$product->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="category_id">{{ trans('cruds.product.fields.category') }}</label> <select class="form-control select2 {{ $errors->has('category') ? 'is-invalid' : '' }}" name="category_id" id="category_id" required> @foreach($categories as $id => $entry) <option value="{{ $id }}" {{ (old('category_id') ? old('category_id') : $product->category->id ?? '') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('category')) <span class="text-danger">{{ $errors->first('category') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.category_helper') }}</span> </div> <div class="form-group"> <label class="required" for="sku">{{ trans('cruds.product.fields.sku') }}</label> <input class="form-control {{ $errors->has('sku') ? 'is-invalid' : '' }}" type="text" name="sku" id="sku" value="{{ old('sku', $product->sku) }}" required> @if($errors->has('sku')) <span class="text-danger">{{ $errors->first('sku') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.sku_helper') }}</span> </div> <div class="form-group"> <label class="required" for="name">{{ trans('cruds.product.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', $product->name) }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.name_helper') }}</span> </div> <div class="form-group"> <label class="required" for="slug">{{ trans('cruds.product.fields.slug') }}</label> <input class="form-control {{ $errors->has('slug') ? 'is-invalid' : '' }}" type="text" name="slug" id="slug" value="{{ old('slug', $product->slug) }}" required> @if($errors->has('slug')) <span class="text-danger">{{ $errors->first('slug') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.slug_helper') }}</span> </div> <div class="form-group"> <label for="description">{{ trans('cruds.product.fields.description') }}</label> <input class="form-control {{ $errors->has('description') ? 'is-invalid' : '' }}" type="text" name="description" id="description" value="{{ old('description', $product->description) }}"> @if($errors->has('description')) <span class="text-danger">{{ $errors->first('description') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.description_helper') }}</span> </div> <div class="form-group"> <label for="featured_image">{{ trans('cruds.product.fields.featured_image') }}</label> <div class="needsclick dropzone {{ $errors->has('featured_image') ? 'is-invalid' : '' }}" id="featured_image-dropzone"> </div> @if($errors->has('featured_image')) <span class="text-danger">{{ $errors->first('featured_image') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.featured_image_helper') }}</span> </div> <div class="form-group"> <label for="gallery_images">{{ trans('cruds.product.fields.gallery_images') }}</label> <div class="needsclick dropzone {{ $errors->has('gallery_images') ? 'is-invalid' : '' }}" id="gallery_images-dropzone"> </div> @if($errors->has('gallery_images')) <span class="text-danger">{{ $errors->first('gallery_images') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.gallery_images_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.product.fields.status') }}</label> @foreach(App\Models\Product::STATUS_RADIO as $key => $label) <div class="form-check {{ $errors->has('status') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="status_{{ $key }}" name="status" value="{{ $key }}" {{ old('status', $product->status) === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="status_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('status')) <span class="text-danger">{{ $errors->first('status') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.status_helper') }}</span> </div> <div class="form-group"> <label for="product_sketch">{{ trans('cruds.product.fields.product_sketch') }}</label> <div class="needsclick dropzone {{ $errors->has('product_sketch') ? 'is-invalid' : '' }}" id="product_sketch-dropzone"> </div> @if($errors->has('product_sketch')) <span class="text-danger">{{ $errors->first('product_sketch') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.product_sketch_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection @section('scripts') <script> Dropzone.options.featuredImageDropzone = { url: '{{ route('admin.products.storeMedia') }}', maxFilesize: 2, // MB acceptedFiles: '.jpeg,.jpg,.png,.gif', maxFiles: 1, addRemoveLinks: true, headers: { 'X-CSRF-TOKEN': "{{ csrf_token() }}" }, params: { size: 2, width: 4096, height: 4096 }, success: function (file, response) { $('form').find('input[name="featured_image"]').remove() $('form').append('<input type="hidden" name="featured_image" value="' + response.name + '">') }, removedfile: function (file) { file.previewElement.remove() if (file.status !== 'error') { $('form').find('input[name="featured_image"]').remove() this.options.maxFiles = this.options.maxFiles + 1 } }, init: function () { @if(isset($product) && $product->featured_image) var file = {!! json_encode($product->featured_image) !!} this.options.addedfile.call(this, file) this.options.thumbnail.call(this, file, file.preview ?? file.preview_url) file.previewElement.classList.add('dz-complete') $('form').append('<input type="hidden" name="featured_image" value="' + file.file_name + '">') this.options.maxFiles = this.options.maxFiles - 1 @endif }, error: function (file, response) { if ($.type(response) === 'string') { var message = response //dropzone sends it's own error messages in string } else { var message = response.errors.file } file.previewElement.classList.add('dz-error') _ref = file.previewElement.querySelectorAll('[data-dz-errormessage]') _results = [] for (_i = 0, _len = _ref.length; _i < _len; _i++) { node = _ref[_i] _results.push(node.textContent = message) } return _results } } </script> <script> var uploadedGalleryImagesMap = {} Dropzone.options.galleryImagesDropzone = { url: '{{ route('admin.products.storeMedia') }}', maxFilesize: 2, // MB acceptedFiles: '.jpeg,.jpg,.png,.gif', addRemoveLinks: true, headers: { 'X-CSRF-TOKEN': "{{ csrf_token() }}" }, params: { size: 2, width: 4096, height: 4096 }, success: function (file, response) { $('form').append('<input type="hidden" name="gallery_images[]" value="' + response.name + '">') uploadedGalleryImagesMap[file.name] = response.name }, removedfile: function (file) { console.log(file) file.previewElement.remove() var name = '' if (typeof file.file_name !== 'undefined') { name = file.file_name } else { name = uploadedGalleryImagesMap[file.name] } $('form').find('input[name="gallery_images[]"][value="' + name + '"]').remove() }, init: function () { @if(isset($product) && $product->gallery_images) var files = {!! json_encode($product->gallery_images) !!} for (var i in files) { var file = files[i] this.options.addedfile.call(this, file) this.options.thumbnail.call(this, file, file.preview ?? file.preview_url) file.previewElement.classList.add('dz-complete') $('form').append('<input type="hidden" name="gallery_images[]" value="' + file.file_name + '">') } @endif }, error: function (file, response) { if ($.type(response) === 'string') { var message = response //dropzone sends it's own error messages in string } else { var message = response.errors.file } file.previewElement.classList.add('dz-error') _ref = file.previewElement.querySelectorAll('[data-dz-errormessage]') _results = [] for (_i = 0, _len = _ref.length; _i < _len; _i++) { node = _ref[_i] _results.push(node.textContent = message) } return _results } } </script> <script> Dropzone.options.productSketchDropzone = { url: '{{ route('admin.products.storeMedia') }}', maxFilesize: 2, // MB acceptedFiles: '.jpeg,.jpg,.png,.gif', maxFiles: 1, addRemoveLinks: true, headers: { 'X-CSRF-TOKEN': "{{ csrf_token() }}" }, params: { size: 2, width: 4096, height: 4096 }, success: function (file, response) { $('form').find('input[name="product_sketch"]').remove() $('form').append('<input type="hidden" name="product_sketch" value="' + response.name + '">') }, removedfile: function (file) { file.previewElement.remove() if (file.status !== 'error') { $('form').find('input[name="product_sketch"]').remove() this.options.maxFiles = this.options.maxFiles + 1 } }, init: function () { @if(isset($product) && $product->product_sketch) var file = {!! json_encode($product->product_sketch) !!} this.options.addedfile.call(this, file) this.options.thumbnail.call(this, file, file.preview ?? file.preview_url) file.previewElement.classList.add('dz-complete') $('form').append('<input type="hidden" name="product_sketch" value="' + file.file_name + '">') this.options.maxFiles = this.options.maxFiles - 1 @endif }, error: function (file, response) { if ($.type(response) === 'string') { var message = response //dropzone sends it's own error messages in string } else { var message = response.errors.file } file.previewElement.classList.add('dz-error') _ref = file.previewElement.querySelectorAll('[data-dz-errormessage]') _results = [] for (_i = 0, _len = _ref.length; _i < _len; _i++) { node = _ref[_i] _results.push(node.textContent = message) } return _results } } </script> @endsection products/index.blade.php 0000644 00000015261 15021252041 0011272 0 ustar 00 @extends('layouts.admin') @section('content') @can('product_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.products.create') }}"> {{ trans('global.add') }} {{ trans('cruds.product.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.product.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-Product"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.product.fields.id') }} </th> <th> {{ trans('cruds.product.fields.category') }} </th> <th> {{ trans('cruds.product.fields.sku') }} </th> <th> {{ trans('cruds.product.fields.name') }} </th> <th> {{ trans('cruds.product.fields.slug') }} </th> <th> {{ trans('cruds.product.fields.description') }} </th> <th> {{ trans('cruds.product.fields.featured_image') }} </th> <th> {{ trans('cruds.product.fields.gallery_images') }} </th> <th> {{ trans('cruds.product.fields.status') }} </th> <th> {{ trans('cruds.product.fields.product_sketch') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($categories as $key => $item) <option value="{{ $item->name }}">{{ $item->name }}</option> @endforeach </select> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> </td> <td> </td> <td> <select class="search" strict="true"> <option value>{{ trans('global.all') }}</option> @foreach(App\Models\Product::STATUS_RADIO as $key => $item) <option value="{{ $key }}">{{ $item }}</option> @endforeach </select> </td> <td> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('product_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.products.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.products.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'category_name', name: 'category.name' }, { data: 'sku', name: 'sku' }, { data: 'name', name: 'name' }, { data: 'slug', name: 'slug' }, { data: 'description', name: 'description' }, { data: 'featured_image', name: 'featured_image', sortable: false, searchable: false }, { data: 'gallery_images', name: 'gallery_images', sortable: false, searchable: false }, { data: 'status', name: 'status' }, { data: 'product_sketch', name: 'product_sketch', sortable: false, searchable: false }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-Product').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection products/show.blade.php 0000644 00000012426 15021252041 0011143 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.product.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.products.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.product.fields.id') }} </th> <td> {{ $product->id }} </td> </tr> <tr> <th> {{ trans('cruds.product.fields.category') }} </th> <td> {{ $product->category->name ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.product.fields.sku') }} </th> <td> {{ $product->sku }} </td> </tr> <tr> <th> {{ trans('cruds.product.fields.name') }} </th> <td> {{ $product->name }} </td> </tr> <tr> <th> {{ trans('cruds.product.fields.slug') }} </th> <td> {{ $product->slug }} </td> </tr> <tr> <th> {{ trans('cruds.product.fields.description') }} </th> <td> {{ $product->description }} </td> </tr> <tr> <th> {{ trans('cruds.product.fields.featured_image') }} </th> <td> @if($product->featured_image) <a href="{{ $product->featured_image->getUrl() }}" target="_blank" style="display: inline-block"> <img src="{{ $product->featured_image->getUrl('thumb') }}"> </a> @endif </td> </tr> <tr> <th> {{ trans('cruds.product.fields.gallery_images') }} </th> <td> @foreach($product->gallery_images as $key => $media) <a href="{{ $media->getUrl() }}" target="_blank" style="display: inline-block"> <img src="{{ $media->getUrl('thumb') }}"> </a> @endforeach </td> </tr> <tr> <th> {{ trans('cruds.product.fields.status') }} </th> <td> {{ App\Models\Product::STATUS_RADIO[$product->status] ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.product.fields.product_sketch') }} </th> <td> @if($product->product_sketch) <a href="{{ $product->product_sketch->getUrl() }}" target="_blank" style="display: inline-block"> <img src="{{ $product->product_sketch->getUrl('thumb') }}"> </a> @endif </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.products.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> <div class="card"> <div class="card-header"> {{ trans('global.relatedData') }} </div> <ul class="nav nav-tabs" role="tablist" id="relationship-tabs"> <li class="nav-item"> <a class="nav-link" href="#product_product_prices" role="tab" data-toggle="tab"> {{ trans('cruds.productPrice.title') }} </a> </li> </ul> <div class="tab-content"> <div class="tab-pane" role="tabpanel" id="product_product_prices"> @includeIf('admin.products.relationships.productProductPrices', ['productPrices' => $product->productProductPrices]) </div> </div> </div> @endsection products/create.blade.php 0000644 00000027765 15021252041 0011442 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.product.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.products.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="category_id">{{ trans('cruds.product.fields.category') }}</label> <select class="form-control select2 {{ $errors->has('category') ? 'is-invalid' : '' }}" name="category_id" id="category_id" required> @foreach($categories as $id => $entry) <option value="{{ $id }}" {{ old('category_id') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('category')) <span class="text-danger">{{ $errors->first('category') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.category_helper') }}</span> </div> <div class="form-group"> <label class="required" for="sku">{{ trans('cruds.product.fields.sku') }}</label> <input class="form-control {{ $errors->has('sku') ? 'is-invalid' : '' }}" type="text" name="sku" id="sku" value="{{ old('sku', '') }}" required> @if($errors->has('sku')) <span class="text-danger">{{ $errors->first('sku') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.sku_helper') }}</span> </div> <div class="form-group"> <label class="required" for="name">{{ trans('cruds.product.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', '') }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.name_helper') }}</span> </div> <div class="form-group"> <label class="required" for="slug">{{ trans('cruds.product.fields.slug') }}</label> <input class="form-control {{ $errors->has('slug') ? 'is-invalid' : '' }}" type="text" name="slug" id="slug" value="{{ old('slug', '') }}" required> @if($errors->has('slug')) <span class="text-danger">{{ $errors->first('slug') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.slug_helper') }}</span> </div> <div class="form-group"> <label for="description">{{ trans('cruds.product.fields.description') }}</label> <input class="form-control {{ $errors->has('description') ? 'is-invalid' : '' }}" type="text" name="description" id="description" value="{{ old('description', '') }}"> @if($errors->has('description')) <span class="text-danger">{{ $errors->first('description') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.description_helper') }}</span> </div> <div class="form-group"> <label for="featured_image">{{ trans('cruds.product.fields.featured_image') }}</label> <div class="needsclick dropzone {{ $errors->has('featured_image') ? 'is-invalid' : '' }}" id="featured_image-dropzone"> </div> @if($errors->has('featured_image')) <span class="text-danger">{{ $errors->first('featured_image') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.featured_image_helper') }}</span> </div> <div class="form-group"> <label for="gallery_images">{{ trans('cruds.product.fields.gallery_images') }}</label> <div class="needsclick dropzone {{ $errors->has('gallery_images') ? 'is-invalid' : '' }}" id="gallery_images-dropzone"> </div> @if($errors->has('gallery_images')) <span class="text-danger">{{ $errors->first('gallery_images') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.gallery_images_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.product.fields.status') }}</label> @foreach(App\Models\Product::STATUS_RADIO as $key => $label) <div class="form-check {{ $errors->has('status') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="status_{{ $key }}" name="status" value="{{ $key }}" {{ old('status', '1') === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="status_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('status')) <span class="text-danger">{{ $errors->first('status') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.status_helper') }}</span> </div> <div class="form-group"> <label for="product_sketch">{{ trans('cruds.product.fields.product_sketch') }}</label> <div class="needsclick dropzone {{ $errors->has('product_sketch') ? 'is-invalid' : '' }}" id="product_sketch-dropzone"> </div> @if($errors->has('product_sketch')) <span class="text-danger">{{ $errors->first('product_sketch') }}</span> @endif <span class="help-block">{{ trans('cruds.product.fields.product_sketch_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection @section('scripts') <script> Dropzone.options.featuredImageDropzone = { url: '{{ route('admin.products.storeMedia') }}', maxFilesize: 2, // MB acceptedFiles: '.jpeg,.jpg,.png,.gif', maxFiles: 1, addRemoveLinks: true, headers: { 'X-CSRF-TOKEN': "{{ csrf_token() }}" }, params: { size: 2, width: 4096, height: 4096 }, success: function (file, response) { $('form').find('input[name="featured_image"]').remove() $('form').append('<input type="hidden" name="featured_image" value="' + response.name + '">') }, removedfile: function (file) { file.previewElement.remove() if (file.status !== 'error') { $('form').find('input[name="featured_image"]').remove() this.options.maxFiles = this.options.maxFiles + 1 } }, init: function () { @if(isset($product) && $product->featured_image) var file = {!! json_encode($product->featured_image) !!} this.options.addedfile.call(this, file) this.options.thumbnail.call(this, file, file.preview ?? file.preview_url) file.previewElement.classList.add('dz-complete') $('form').append('<input type="hidden" name="featured_image" value="' + file.file_name + '">') this.options.maxFiles = this.options.maxFiles - 1 @endif }, error: function (file, response) { if ($.type(response) === 'string') { var message = response //dropzone sends it's own error messages in string } else { var message = response.errors.file } file.previewElement.classList.add('dz-error') _ref = file.previewElement.querySelectorAll('[data-dz-errormessage]') _results = [] for (_i = 0, _len = _ref.length; _i < _len; _i++) { node = _ref[_i] _results.push(node.textContent = message) } return _results } } </script> <script> var uploadedGalleryImagesMap = {} Dropzone.options.galleryImagesDropzone = { url: '{{ route('admin.products.storeMedia') }}', maxFilesize: 2, // MB acceptedFiles: '.jpeg,.jpg,.png,.gif', addRemoveLinks: true, headers: { 'X-CSRF-TOKEN': "{{ csrf_token() }}" }, params: { size: 2, width: 4096, height: 4096 }, success: function (file, response) { $('form').append('<input type="hidden" name="gallery_images[]" value="' + response.name + '">') uploadedGalleryImagesMap[file.name] = response.name }, removedfile: function (file) { console.log(file) file.previewElement.remove() var name = '' if (typeof file.file_name !== 'undefined') { name = file.file_name } else { name = uploadedGalleryImagesMap[file.name] } $('form').find('input[name="gallery_images[]"][value="' + name + '"]').remove() }, init: function () { @if(isset($product) && $product->gallery_images) var files = {!! json_encode($product->gallery_images) !!} for (var i in files) { var file = files[i] this.options.addedfile.call(this, file) this.options.thumbnail.call(this, file, file.preview ?? file.preview_url) file.previewElement.classList.add('dz-complete') $('form').append('<input type="hidden" name="gallery_images[]" value="' + file.file_name + '">') } @endif }, error: function (file, response) { if ($.type(response) === 'string') { var message = response //dropzone sends it's own error messages in string } else { var message = response.errors.file } file.previewElement.classList.add('dz-error') _ref = file.previewElement.querySelectorAll('[data-dz-errormessage]') _results = [] for (_i = 0, _len = _ref.length; _i < _len; _i++) { node = _ref[_i] _results.push(node.textContent = message) } return _results } } </script> <script> Dropzone.options.productSketchDropzone = { url: '{{ route('admin.products.storeMedia') }}', maxFilesize: 2, // MB acceptedFiles: '.jpeg,.jpg,.png,.gif', maxFiles: 1, addRemoveLinks: true, headers: { 'X-CSRF-TOKEN': "{{ csrf_token() }}" }, params: { size: 2, width: 4096, height: 4096 }, success: function (file, response) { $('form').find('input[name="product_sketch"]').remove() $('form').append('<input type="hidden" name="product_sketch" value="' + response.name + '">') }, removedfile: function (file) { file.previewElement.remove() if (file.status !== 'error') { $('form').find('input[name="product_sketch"]').remove() this.options.maxFiles = this.options.maxFiles + 1 } }, init: function () { @if(isset($product) && $product->product_sketch) var file = {!! json_encode($product->product_sketch) !!} this.options.addedfile.call(this, file) this.options.thumbnail.call(this, file, file.preview ?? file.preview_url) file.previewElement.classList.add('dz-complete') $('form').append('<input type="hidden" name="product_sketch" value="' + file.file_name + '">') this.options.maxFiles = this.options.maxFiles - 1 @endif }, error: function (file, response) { if ($.type(response) === 'string') { var message = response //dropzone sends it's own error messages in string } else { var message = response.errors.file } file.previewElement.classList.add('dz-error') _ref = file.previewElement.querySelectorAll('[data-dz-errormessage]') _results = [] for (_i = 0, _len = _ref.length; _i < _len; _i++) { node = _ref[_i] _results.push(node.textContent = message) } return _results } } </script> @endsection statuses/relationships/currentStatusOrders.blade.php 0000644 00000020706 15021252041 0017124 0 ustar 00 <div class="m-3"> @can('order_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.orders.create') }}"> {{ trans('global.add') }} {{ trans('cruds.order.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.order.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <div class="table-responsive"> <table class=" table table-bordered table-striped table-hover datatable datatable-currentStatusOrders"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.order.fields.id') }} </th> <th> {{ trans('cruds.order.fields.user') }} </th> <th> {{ trans('cruds.user.fields.email') }} </th> <th> {{ trans('cruds.order.fields.order_number') }} </th> <th> {{ trans('cruds.order.fields.current_status') }} </th> <th> {{ trans('cruds.order.fields.assigned_to') }} </th> <th> {{ trans('cruds.user.fields.email') }} </th> <th> {{ trans('cruds.order.fields.admin_approved') }} </th> <th> {{ trans('cruds.order.fields.shipping_address') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <th> {{ trans('cruds.order.fields.billing_address') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <th> {{ trans('cruds.order.fields.payment_status') }} </th> <th> {{ trans('cruds.order.fields.payment_type') }} </th> <th> </th> </tr> </thead> <tbody> @foreach($orders as $key => $order) <tr data-entry-id="{{ $order->id }}"> <td> </td> <td> {{ $order->id ?? '' }} </td> <td> {{ $order->user->name ?? '' }} </td> <td> {{ $order->user->email ?? '' }} </td> <td> {{ $order->order_number ?? '' }} </td> <td> {{ $order->current_status->name ?? '' }} </td> <td> {{ $order->assigned_to->name ?? '' }} </td> <td> {{ $order->assigned_to->email ?? '' }} </td> <td> <span style="display:none">{{ $order->admin_approved ?? '' }}</span> <input type="checkbox" disabled="disabled" {{ $order->admin_approved ? 'checked' : '' }}> </td> <td> {{ $order->shipping_address->contact_person ?? '' }} </td> <td> {{ $order->shipping_address->address_line_1 ?? '' }} </td> <td> {{ $order->billing_address->contact_person ?? '' }} </td> <td> {{ $order->billing_address->address_line_1 ?? '' }} </td> <td> {{ App\Models\Order::PAYMENT_STATUS_RADIO[$order->payment_status] ?? '' }} </td> <td> {{ App\Models\Order::PAYMENT_TYPE_RADIO[$order->payment_type] ?? '' }} </td> <td> @can('order_show') <a class="btn btn-xs btn-primary" href="{{ route('admin.orders.show', $order->id) }}"> {{ trans('global.view') }} </a> @endcan @can('order_edit') <a class="btn btn-xs btn-info" href="{{ route('admin.orders.edit', $order->id) }}"> {{ trans('global.edit') }} </a> @endcan @can('order_delete') <form action="{{ route('admin.orders.destroy', $order->id) }}" method="POST" onsubmit="return confirm('{{ trans('global.areYouSure') }}');" style="display: inline-block;"> <input type="hidden" name="_method" value="DELETE"> <input type="hidden" name="_token" value="{{ csrf_token() }}"> <input type="submit" class="btn btn-xs btn-danger" value="{{ trans('global.delete') }}"> </form> @endcan </td> </tr> @endforeach </tbody> </table> </div> </div> </div> </div> @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('order_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}' let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.orders.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).nodes(), function (entry) { return $(entry).data('entry-id') }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan $.extend(true, $.fn.dataTable.defaults, { orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }); let table = $('.datatable-currentStatusOrders:not(.ajaxTable)').DataTable({ buttons: dtButtons }) $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); }) </script> @endsection statuses/edit.blade.php 0000644 00000002247 15021252041 0011120 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.status.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.statuses.update", [$status->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="name">{{ trans('cruds.status.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', $status->name) }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.status.fields.name_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection statuses/index.blade.php 0000644 00000007547 15021252041 0011312 0 ustar 00 @extends('layouts.admin') @section('content') @can('status_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.statuses.create') }}"> {{ trans('global.add') }} {{ trans('cruds.status.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.status.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-Status"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.status.fields.id') }} </th> <th> {{ trans('cruds.status.fields.name') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('status_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.statuses.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.statuses.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'name', name: 'name' }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-Status').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection statuses/show.blade.php 0000644 00000004013 15021252041 0011144 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.status.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.statuses.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.status.fields.id') }} </th> <td> {{ $status->id }} </td> </tr> <tr> <th> {{ trans('cruds.status.fields.name') }} </th> <td> {{ $status->name }} </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.statuses.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> <div class="card"> <div class="card-header"> {{ trans('global.relatedData') }} </div> <ul class="nav nav-tabs" role="tablist" id="relationship-tabs"> <li class="nav-item"> <a class="nav-link" href="#current_status_orders" role="tab" data-toggle="tab"> {{ trans('cruds.order.title') }} </a> </li> </ul> <div class="tab-content"> <div class="tab-pane" role="tabpanel" id="current_status_orders"> @includeIf('admin.statuses.relationships.currentStatusOrders', ['orders' => $status->currentStatusOrders]) </div> </div> </div> @endsection statuses/create.blade.php 0000644 00000002163 15021252041 0011433 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.status.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.statuses.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="name">{{ trans('cruds.status.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', '') }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.status.fields.name_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection orders/edit.blade.php 0000644 00000015612 15021252041 0010543 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.order.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.orders.update", [$order->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="user_id">{{ trans('cruds.order.fields.user') }}</label> <select class="form-control select2 {{ $errors->has('user') ? 'is-invalid' : '' }}" name="user_id" id="user_id" required> @foreach($users as $id => $entry) <option value="{{ $id }}" {{ (old('user_id') ? old('user_id') : $order->user->id ?? '') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('user')) <span class="text-danger">{{ $errors->first('user') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.user_helper') }}</span> </div> <div class="form-group"> <label class="required" for="current_status_id">{{ trans('cruds.order.fields.current_status') }}</label> <select class="form-control select2 {{ $errors->has('current_status') ? 'is-invalid' : '' }}" name="current_status_id" id="current_status_id" required> @foreach($current_statuses as $id => $entry) <option value="{{ $id }}" {{ (old('current_status_id') ? old('current_status_id') : $order->current_status->id ?? '') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('current_status')) <span class="text-danger">{{ $errors->first('current_status') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.current_status_helper') }}</span> </div> <div class="form-group"> <div class="form-check {{ $errors->has('admin_approved') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="checkbox" name="admin_approved" id="admin_approved" value="1" {{ $order->admin_approved || old('admin_approved', 0) === 1 ? 'checked' : '' }} required> <label class="required form-check-label" for="admin_approved">{{ trans('cruds.order.fields.admin_approved') }}</label> </div> @if($errors->has('admin_approved')) <span class="text-danger">{{ $errors->first('admin_approved') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.admin_approved_helper') }}</span> </div> <div class="form-group"> <label class="required" for="shipping_address_id">{{ trans('cruds.order.fields.shipping_address') }}</label> <select class="form-control select2 {{ $errors->has('shipping_address') ? 'is-invalid' : '' }}" name="shipping_address_id" id="shipping_address_id" required> @foreach($shipping_addresses as $id => $entry) <option value="{{ $id }}" {{ (old('shipping_address_id') ? old('shipping_address_id') : $order->shipping_address->id ?? '') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('shipping_address')) <span class="text-danger">{{ $errors->first('shipping_address') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.shipping_address_helper') }}</span> </div> <div class="form-group"> <label class="required" for="billing_address_id">{{ trans('cruds.order.fields.billing_address') }}</label> <select class="form-control select2 {{ $errors->has('billing_address') ? 'is-invalid' : '' }}" name="billing_address_id" id="billing_address_id" required> @foreach($billing_addresses as $id => $entry) <option value="{{ $id }}" {{ (old('billing_address_id') ? old('billing_address_id') : $order->billing_address->id ?? '') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('billing_address')) <span class="text-danger">{{ $errors->first('billing_address') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.billing_address_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.order.fields.payment_status') }}</label> @foreach(App\Models\Order::PAYMENT_STATUS_RADIO as $key => $label) <div class="form-check {{ $errors->has('payment_status') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="payment_status_{{ $key }}" name="payment_status" value="{{ $key }}" {{ old('payment_status', $order->payment_status) === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="payment_status_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('payment_status')) <span class="text-danger">{{ $errors->first('payment_status') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.payment_status_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.order.fields.payment_type') }}</label> @foreach(App\Models\Order::PAYMENT_TYPE_RADIO as $key => $label) <div class="form-check {{ $errors->has('payment_type') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="payment_type_{{ $key }}" name="payment_type" value="{{ $key }}" {{ old('payment_type', $order->payment_type) === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="payment_type_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('payment_type')) <span class="text-danger">{{ $errors->first('payment_type') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.payment_type_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection orders/index.blade.php 0000644 00000022254 15021252041 0010725 0 ustar 00 @extends('layouts.admin') @section('content') @can('order_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.orders.create') }}"> {{ trans('global.add') }} {{ trans('cruds.order.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.order.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-Order"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.order.fields.id') }} </th> <th> {{ trans('cruds.order.fields.user') }} </th> <th> {{ trans('cruds.user.fields.email') }} </th> <th> {{ trans('cruds.order.fields.order_number') }} </th> <th> {{ trans('cruds.order.fields.current_status') }} </th> <th> {{ trans('cruds.order.fields.assigned_to') }} </th> <th> {{ trans('cruds.user.fields.email') }} </th> <th> {{ trans('cruds.order.fields.admin_approved') }} </th> <th> {{ trans('cruds.order.fields.shipping_address') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <th> {{ trans('cruds.order.fields.billing_address') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <th> {{ trans('cruds.order.fields.payment_status') }} </th> <th> {{ trans('cruds.order.fields.payment_type') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($users as $key => $item) <option value="{{ $item->name }}">{{ $item->name }}</option> @endforeach </select> </td> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($statuses as $key => $item) <option value="{{ $item->name }}">{{ $item->name }}</option> @endforeach </select> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($users as $key => $item) <option value="{{ $item->name }}">{{ $item->name }}</option> @endforeach </select> </td> <td> </td> <td> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($address_books as $key => $item) <option value="{{ $item->contact_person }}">{{ $item->contact_person }}</option> @endforeach </select> </td> <td> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($address_books as $key => $item) <option value="{{ $item->contact_person }}">{{ $item->contact_person }}</option> @endforeach </select> </td> <td> </td> <td> <select class="search" strict="true"> <option value>{{ trans('global.all') }}</option> @foreach(App\Models\Order::PAYMENT_STATUS_RADIO as $key => $item) <option value="{{ $key }}">{{ $item }}</option> @endforeach </select> </td> <td> <select class="search" strict="true"> <option value>{{ trans('global.all') }}</option> @foreach(App\Models\Order::PAYMENT_TYPE_RADIO as $key => $item) <option value="{{ $key }}">{{ $item }}</option> @endforeach </select> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('order_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.orders.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.orders.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'user_name', name: 'user.name' }, { data: 'user.email', name: 'user.email' }, { data: 'order_number', name: 'order_number' }, { data: 'current_status_name', name: 'current_status.name' }, { data: 'assigned_to_name', name: 'assigned_to.name' }, { data: 'assigned_to.email', name: 'assigned_to.email' }, { data: 'admin_approved', name: 'admin_approved' }, { data: 'shipping_address_contact_person', name: 'shipping_address.contact_person' }, { data: 'shipping_address.address_line_1', name: 'shipping_address.address_line_1' }, { data: 'billing_address_contact_person', name: 'billing_address.contact_person' }, { data: 'billing_address.address_line_1', name: 'billing_address.address_line_1' }, { data: 'payment_status', name: 'payment_status' }, { data: 'payment_type', name: 'payment_type' }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-Order').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection orders/show.blade.php 0000644 00000007734 15021252041 0010604 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.order.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.orders.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.order.fields.id') }} </th> <td> {{ $order->id }} </td> </tr> <tr> <th> {{ trans('cruds.order.fields.user') }} </th> <td> {{ $order->user->name ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.order.fields.order_number') }} </th> <td> {{ $order->order_number }} </td> </tr> <tr> <th> {{ trans('cruds.order.fields.current_status') }} </th> <td> {{ $order->current_status->name ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.order.fields.assigned_to') }} </th> <td> {{ $order->assigned_to->name ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.order.fields.admin_approved') }} </th> <td> <input type="checkbox" disabled="disabled" {{ $order->admin_approved ? 'checked' : '' }}> </td> </tr> <tr> <th> {{ trans('cruds.order.fields.shipping_address') }} </th> <td> {{ $order->shipping_address->contact_person ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.order.fields.billing_address') }} </th> <td> {{ $order->billing_address->contact_person ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.order.fields.payment_status') }} </th> <td> {{ App\Models\Order::PAYMENT_STATUS_RADIO[$order->payment_status] ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.order.fields.payment_type') }} </th> <td> {{ App\Models\Order::PAYMENT_TYPE_RADIO[$order->payment_type] ?? '' }} </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.orders.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> @endsection orders/create.blade.php 0000644 00000015071 15021252041 0011060 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.order.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.orders.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="user_id">{{ trans('cruds.order.fields.user') }}</label> <select class="form-control select2 {{ $errors->has('user') ? 'is-invalid' : '' }}" name="user_id" id="user_id" required> @foreach($users as $id => $entry) <option value="{{ $id }}" {{ old('user_id') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('user')) <span class="text-danger">{{ $errors->first('user') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.user_helper') }}</span> </div> <div class="form-group"> <label class="required" for="current_status_id">{{ trans('cruds.order.fields.current_status') }}</label> <select class="form-control select2 {{ $errors->has('current_status') ? 'is-invalid' : '' }}" name="current_status_id" id="current_status_id" required> @foreach($current_statuses as $id => $entry) <option value="{{ $id }}" {{ old('current_status_id') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('current_status')) <span class="text-danger">{{ $errors->first('current_status') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.current_status_helper') }}</span> </div> <div class="form-group"> <div class="form-check {{ $errors->has('admin_approved') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="checkbox" name="admin_approved" id="admin_approved" value="1" required {{ old('admin_approved', 0) == 1 ? 'checked' : '' }}> <label class="required form-check-label" for="admin_approved">{{ trans('cruds.order.fields.admin_approved') }}</label> </div> @if($errors->has('admin_approved')) <span class="text-danger">{{ $errors->first('admin_approved') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.admin_approved_helper') }}</span> </div> <div class="form-group"> <label class="required" for="shipping_address_id">{{ trans('cruds.order.fields.shipping_address') }}</label> <select class="form-control select2 {{ $errors->has('shipping_address') ? 'is-invalid' : '' }}" name="shipping_address_id" id="shipping_address_id" required> @foreach($shipping_addresses as $id => $entry) <option value="{{ $id }}" {{ old('shipping_address_id') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('shipping_address')) <span class="text-danger">{{ $errors->first('shipping_address') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.shipping_address_helper') }}</span> </div> <div class="form-group"> <label class="required" for="billing_address_id">{{ trans('cruds.order.fields.billing_address') }}</label> <select class="form-control select2 {{ $errors->has('billing_address') ? 'is-invalid' : '' }}" name="billing_address_id" id="billing_address_id" required> @foreach($billing_addresses as $id => $entry) <option value="{{ $id }}" {{ old('billing_address_id') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('billing_address')) <span class="text-danger">{{ $errors->first('billing_address') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.billing_address_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.order.fields.payment_status') }}</label> @foreach(App\Models\Order::PAYMENT_STATUS_RADIO as $key => $label) <div class="form-check {{ $errors->has('payment_status') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="payment_status_{{ $key }}" name="payment_status" value="{{ $key }}" {{ old('payment_status', 'Unpaid') === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="payment_status_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('payment_status')) <span class="text-danger">{{ $errors->first('payment_status') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.payment_status_helper') }}</span> </div> <div class="form-group"> <label class="required">{{ trans('cruds.order.fields.payment_type') }}</label> @foreach(App\Models\Order::PAYMENT_TYPE_RADIO as $key => $label) <div class="form-check {{ $errors->has('payment_type') ? 'is-invalid' : '' }}"> <input class="form-check-input" type="radio" id="payment_type_{{ $key }}" name="payment_type" value="{{ $key }}" {{ old('payment_type', 'COD') === (string) $key ? 'checked' : '' }} required> <label class="form-check-label" for="payment_type_{{ $key }}">{{ $label }}</label> </div> @endforeach @if($errors->has('payment_type')) <span class="text-danger">{{ $errors->first('payment_type') }}</span> @endif <span class="help-block">{{ trans('cruds.order.fields.payment_type_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection roles/edit.blade.php 0000644 00000004562 15021252041 0010373 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.role.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.roles.update", [$role->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="title">{{ trans('cruds.role.fields.title') }}</label> <input class="form-control {{ $errors->has('title') ? 'is-invalid' : '' }}" type="text" name="title" id="title" value="{{ old('title', $role->title) }}" required> @if($errors->has('title')) <span class="text-danger">{{ $errors->first('title') }}</span> @endif <span class="help-block">{{ trans('cruds.role.fields.title_helper') }}</span> </div> <div class="form-group"> <label class="required" for="permissions">{{ trans('cruds.role.fields.permissions') }}</label> <div style="padding-bottom: 4px"> <span class="btn btn-info btn-xs select-all" style="border-radius: 0">{{ trans('global.select_all') }}</span> <span class="btn btn-info btn-xs deselect-all" style="border-radius: 0">{{ trans('global.deselect_all') }}</span> </div> <select class="form-control select2 {{ $errors->has('permissions') ? 'is-invalid' : '' }}" name="permissions[]" id="permissions" multiple required> @foreach($permissions as $id => $permission) <option value="{{ $id }}" {{ (in_array($id, old('permissions', [])) || $role->permissions->contains($id)) ? 'selected' : '' }}>{{ $permission }}</option> @endforeach </select> @if($errors->has('permissions')) <span class="text-danger">{{ $errors->first('permissions') }}</span> @endif <span class="help-block">{{ trans('cruds.role.fields.permissions_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection roles/index.blade.php 0000644 00000010632 15021252041 0010550 0 ustar 00 @extends('layouts.admin') @section('content') @can('role_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.roles.create') }}"> {{ trans('global.add') }} {{ trans('cruds.role.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.role.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-Role"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.role.fields.id') }} </th> <th> {{ trans('cruds.role.fields.title') }} </th> <th> {{ trans('cruds.role.fields.permissions') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($permissions as $key => $item) <option value="{{ $item->title }}">{{ $item->title }}</option> @endforeach </select> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('role_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.roles.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.roles.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'title', name: 'title' }, { data: 'permissions', name: 'permissions.title' }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-Role').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection roles/show.blade.php 0000644 00000003513 15021252041 0010421 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.role.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.roles.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.role.fields.id') }} </th> <td> {{ $role->id }} </td> </tr> <tr> <th> {{ trans('cruds.role.fields.title') }} </th> <td> {{ $role->title }} </td> </tr> <tr> <th> {{ trans('cruds.role.fields.permissions') }} </th> <td> @foreach($role->permissions as $key => $permissions) <span class="label label-info">{{ $permissions->title }}</span> @endforeach </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.roles.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> @endsection roles/create.blade.php 0000644 00000004432 15021252041 0010705 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.role.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.roles.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="title">{{ trans('cruds.role.fields.title') }}</label> <input class="form-control {{ $errors->has('title') ? 'is-invalid' : '' }}" type="text" name="title" id="title" value="{{ old('title', '') }}" required> @if($errors->has('title')) <span class="text-danger">{{ $errors->first('title') }}</span> @endif <span class="help-block">{{ trans('cruds.role.fields.title_helper') }}</span> </div> <div class="form-group"> <label class="required" for="permissions">{{ trans('cruds.role.fields.permissions') }}</label> <div style="padding-bottom: 4px"> <span class="btn btn-info btn-xs select-all" style="border-radius: 0">{{ trans('global.select_all') }}</span> <span class="btn btn-info btn-xs deselect-all" style="border-radius: 0">{{ trans('global.deselect_all') }}</span> </div> <select class="form-control select2 {{ $errors->has('permissions') ? 'is-invalid' : '' }}" name="permissions[]" id="permissions" multiple required> @foreach($permissions as $id => $permission) <option value="{{ $id }}" {{ in_array($id, old('permissions', [])) ? 'selected' : '' }}>{{ $permission }}</option> @endforeach </select> @if($errors->has('permissions')) <span class="text-danger">{{ $errors->first('permissions') }}</span> @endif <span class="help-block">{{ trans('cruds.role.fields.permissions_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection attributes/edit.blade.php 0000644 00000002270 15021252041 0011427 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.attribute.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.attributes.update", [$attribute->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="name">{{ trans('cruds.attribute.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', $attribute->name) }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.attribute.fields.name_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection attributes/index.blade.php 0000644 00000007605 15021252041 0011620 0 ustar 00 @extends('layouts.admin') @section('content') @can('attribute_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.attributes.create') }}"> {{ trans('global.add') }} {{ trans('cruds.attribute.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.attribute.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-Attribute"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.attribute.fields.id') }} </th> <th> {{ trans('cruds.attribute.fields.name') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('attribute_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.attributes.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.attributes.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'name', name: 'name' }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-Attribute').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection attributes/show.blade.php 0000644 00000002641 15021252041 0011464 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.attribute.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.attributes.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.attribute.fields.id') }} </th> <td> {{ $attribute->id }} </td> </tr> <tr> <th> {{ trans('cruds.attribute.fields.name') }} </th> <td> {{ $attribute->name }} </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.attributes.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> @endsection attributes/create.blade.php 0000644 00000002176 15021252041 0011752 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.attribute.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.attributes.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="name">{{ trans('cruds.attribute.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', '') }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.attribute.fields.name_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection attributeOptions/edit.blade.php 0000644 00000004141 15021252041 0012617 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.attributeOption.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.attribute-options.update", [$attributeOption->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="attribute_id">{{ trans('cruds.attributeOption.fields.attribute') }}</label> <select class="form-control select2 {{ $errors->has('attribute') ? 'is-invalid' : '' }}" name="attribute_id" id="attribute_id" required> @foreach($attributes as $id => $entry) <option value="{{ $id }}" {{ (old('attribute_id') ? old('attribute_id') : $attributeOption->attribute->id ?? '') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('attribute')) <span class="text-danger">{{ $errors->first('attribute') }}</span> @endif <span class="help-block">{{ trans('cruds.attributeOption.fields.attribute_helper') }}</span> </div> <div class="form-group"> <label class="required" for="name">{{ trans('cruds.attributeOption.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', $attributeOption->name) }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.attributeOption.fields.name_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection attributeOptions/index.blade.php 0000644 00000011033 15021252041 0012777 0 ustar 00 @extends('layouts.admin') @section('content') @can('attribute_option_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.attribute-options.create') }}"> {{ trans('global.add') }} {{ trans('cruds.attributeOption.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.attributeOption.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-AttributeOption"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.attributeOption.fields.id') }} </th> <th> {{ trans('cruds.attributeOption.fields.attribute') }} </th> <th> {{ trans('cruds.attributeOption.fields.name') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($attributes as $key => $item) <option value="{{ $item->name }}">{{ $item->name }}</option> @endforeach </select> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('attribute_option_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.attribute-options.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.attribute-options.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'attribute_name', name: 'attribute.name' }, { data: 'name', name: 'name' }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-AttributeOption').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection attributeOptions/show.blade.php 0000644 00000003422 15021252041 0012653 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.attributeOption.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.attribute-options.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.attributeOption.fields.id') }} </th> <td> {{ $attributeOption->id }} </td> </tr> <tr> <th> {{ trans('cruds.attributeOption.fields.attribute') }} </th> <td> {{ $attributeOption->attribute->name ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.attributeOption.fields.name') }} </th> <td> {{ $attributeOption->name }} </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.attribute-options.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> @endsection attributeOptions/create.blade.php 0000644 00000003733 15021252041 0013143 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.attributeOption.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.attribute-options.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="attribute_id">{{ trans('cruds.attributeOption.fields.attribute') }}</label> <select class="form-control select2 {{ $errors->has('attribute') ? 'is-invalid' : '' }}" name="attribute_id" id="attribute_id" required> @foreach($attributes as $id => $entry) <option value="{{ $id }}" {{ old('attribute_id') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('attribute')) <span class="text-danger">{{ $errors->first('attribute') }}</span> @endif <span class="help-block">{{ trans('cruds.attributeOption.fields.attribute_helper') }}</span> </div> <div class="form-group"> <label class="required" for="name">{{ trans('cruds.attributeOption.fields.name') }}</label> <input class="form-control {{ $errors->has('name') ? 'is-invalid' : '' }}" type="text" name="name" id="name" value="{{ old('name', '') }}" required> @if($errors->has('name')) <span class="text-danger">{{ $errors->first('name') }}</span> @endif <span class="help-block">{{ trans('cruds.attributeOption.fields.name_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection permissions/edit.blade.php 0000644 00000002310 15021252041 0011607 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.permission.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.permissions.update", [$permission->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="title">{{ trans('cruds.permission.fields.title') }}</label> <input class="form-control {{ $errors->has('title') ? 'is-invalid' : '' }}" type="text" name="title" id="title" value="{{ old('title', $permission->title) }}" required> @if($errors->has('title')) <span class="text-danger">{{ $errors->first('title') }}</span> @endif <span class="help-block">{{ trans('cruds.permission.fields.title_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection permissions/index.blade.php 0000644 00000007623 15021252041 0012005 0 ustar 00 @extends('layouts.admin') @section('content') @can('permission_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.permissions.create') }}"> {{ trans('global.add') }} {{ trans('cruds.permission.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.permission.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-Permission"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.permission.fields.id') }} </th> <th> {{ trans('cruds.permission.fields.title') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('permission_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.permissions.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.permissions.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'title', name: 'title' }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-Permission').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection permissions/show.blade.php 0000644 00000002652 15021252041 0011653 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.permission.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.permissions.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.permission.fields.id') }} </th> <td> {{ $permission->id }} </td> </tr> <tr> <th> {{ trans('cruds.permission.fields.title') }} </th> <td> {{ $permission->title }} </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.permissions.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> @endsection permissions/create.blade.php 0000644 00000002213 15021252041 0012127 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.permission.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.permissions.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="title">{{ trans('cruds.permission.fields.title') }}</label> <input class="form-control {{ $errors->has('title') ? 'is-invalid' : '' }}" type="text" name="title" id="title" value="{{ old('title', '') }}" required> @if($errors->has('title')) <span class="text-danger">{{ $errors->first('title') }}</span> @endif <span class="help-block">{{ trans('cruds.permission.fields.title_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection addressBooks/edit.blade.php 0000644 00000014776 15021252041 0011702 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.addressBook.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.address-books.update", [$addressBook->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="user_id">{{ trans('cruds.addressBook.fields.user') }}</label> <select class="form-control select2 {{ $errors->has('user') ? 'is-invalid' : '' }}" name="user_id" id="user_id" required> @foreach($users as $id => $entry) <option value="{{ $id }}" {{ (old('user_id') ? old('user_id') : $addressBook->user->id ?? '') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('user')) <span class="text-danger">{{ $errors->first('user') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.user_helper') }}</span> </div> <div class="form-group"> <label class="required" for="contact_person">{{ trans('cruds.addressBook.fields.contact_person') }}</label> <input class="form-control {{ $errors->has('contact_person') ? 'is-invalid' : '' }}" type="text" name="contact_person" id="contact_person" value="{{ old('contact_person', $addressBook->contact_person) }}" required> @if($errors->has('contact_person')) <span class="text-danger">{{ $errors->first('contact_person') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.contact_person_helper') }}</span> </div> <div class="form-group"> <label class="required" for="address_line_1">{{ trans('cruds.addressBook.fields.address_line_1') }}</label> <input class="form-control {{ $errors->has('address_line_1') ? 'is-invalid' : '' }}" type="text" name="address_line_1" id="address_line_1" value="{{ old('address_line_1', $addressBook->address_line_1) }}" required> @if($errors->has('address_line_1')) <span class="text-danger">{{ $errors->first('address_line_1') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.address_line_1_helper') }}</span> </div> <div class="form-group"> <label for="address_line_2">{{ trans('cruds.addressBook.fields.address_line_2') }}</label> <input class="form-control {{ $errors->has('address_line_2') ? 'is-invalid' : '' }}" type="text" name="address_line_2" id="address_line_2" value="{{ old('address_line_2', $addressBook->address_line_2) }}"> @if($errors->has('address_line_2')) <span class="text-danger">{{ $errors->first('address_line_2') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.address_line_2_helper') }}</span> </div> <div class="form-group"> <label for="city">{{ trans('cruds.addressBook.fields.city') }}</label> <input class="form-control {{ $errors->has('city') ? 'is-invalid' : '' }}" type="text" name="city" id="city" value="{{ old('city', $addressBook->city) }}"> @if($errors->has('city')) <span class="text-danger">{{ $errors->first('city') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.city_helper') }}</span> </div> <div class="form-group"> <label for="state">{{ trans('cruds.addressBook.fields.state') }}</label> <input class="form-control {{ $errors->has('state') ? 'is-invalid' : '' }}" type="text" name="state" id="state" value="{{ old('state', $addressBook->state) }}"> @if($errors->has('state')) <span class="text-danger">{{ $errors->first('state') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.state_helper') }}</span> </div> <div class="form-group"> <label for="country">{{ trans('cruds.addressBook.fields.country') }}</label> <input class="form-control {{ $errors->has('country') ? 'is-invalid' : '' }}" type="text" name="country" id="country" value="{{ old('country', $addressBook->country) }}"> @if($errors->has('country')) <span class="text-danger">{{ $errors->first('country') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.country_helper') }}</span> </div> <div class="form-group"> <label for="zip_code">{{ trans('cruds.addressBook.fields.zip_code') }}</label> <input class="form-control {{ $errors->has('zip_code') ? 'is-invalid' : '' }}" type="text" name="zip_code" id="zip_code" value="{{ old('zip_code', $addressBook->zip_code) }}"> @if($errors->has('zip_code')) <span class="text-danger">{{ $errors->first('zip_code') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.zip_code_helper') }}</span> </div> <div class="form-group"> <div class="form-check {{ $errors->has('is_default') ? 'is-invalid' : '' }}"> <input type="hidden" name="is_default" value="0"> <input class="form-check-input" type="checkbox" name="is_default" id="is_default" value="1" {{ $addressBook->is_default || old('is_default', 0) === 1 ? 'checked' : '' }}> <label class="form-check-label" for="is_default">{{ trans('cruds.addressBook.fields.is_default') }}</label> </div> @if($errors->has('is_default')) <span class="text-danger">{{ $errors->first('is_default') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.is_default_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection addressBooks/index.blade.php 0000644 00000015114 15021252041 0012047 0 ustar 00 @extends('layouts.admin') @section('content') @can('address_book_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.address-books.create') }}"> {{ trans('global.add') }} {{ trans('cruds.addressBook.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.addressBook.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-AddressBook"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.addressBook.fields.id') }} </th> <th> {{ trans('cruds.addressBook.fields.user') }} </th> <th> {{ trans('cruds.addressBook.fields.contact_person') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <th> {{ trans('cruds.addressBook.fields.address_line_2') }} </th> <th> {{ trans('cruds.addressBook.fields.city') }} </th> <th> {{ trans('cruds.addressBook.fields.state') }} </th> <th> {{ trans('cruds.addressBook.fields.country') }} </th> <th> {{ trans('cruds.addressBook.fields.zip_code') }} </th> <th> {{ trans('cruds.addressBook.fields.is_default') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($users as $key => $item) <option value="{{ $item->name }}">{{ $item->name }}</option> @endforeach </select> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('address_book_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.address-books.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.address-books.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'user_name', name: 'user.name' }, { data: 'contact_person', name: 'contact_person' }, { data: 'address_line_1', name: 'address_line_1' }, { data: 'address_line_2', name: 'address_line_2' }, { data: 'city', name: 'city' }, { data: 'state', name: 'state' }, { data: 'country', name: 'country' }, { data: 'zip_code', name: 'zip_code' }, { data: 'is_default', name: 'is_default' }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-AddressBook').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection addressBooks/show.blade.php 0000644 00000007612 15021252041 0011724 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.addressBook.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.address-books.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.addressBook.fields.id') }} </th> <td> {{ $addressBook->id }} </td> </tr> <tr> <th> {{ trans('cruds.addressBook.fields.user') }} </th> <td> {{ $addressBook->user->name ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.addressBook.fields.contact_person') }} </th> <td> {{ $addressBook->contact_person }} </td> </tr> <tr> <th> {{ trans('cruds.addressBook.fields.address_line_1') }} </th> <td> {{ $addressBook->address_line_1 }} </td> </tr> <tr> <th> {{ trans('cruds.addressBook.fields.address_line_2') }} </th> <td> {{ $addressBook->address_line_2 }} </td> </tr> <tr> <th> {{ trans('cruds.addressBook.fields.city') }} </th> <td> {{ $addressBook->city }} </td> </tr> <tr> <th> {{ trans('cruds.addressBook.fields.state') }} </th> <td> {{ $addressBook->state }} </td> </tr> <tr> <th> {{ trans('cruds.addressBook.fields.country') }} </th> <td> {{ $addressBook->country }} </td> </tr> <tr> <th> {{ trans('cruds.addressBook.fields.zip_code') }} </th> <td> {{ $addressBook->zip_code }} </td> </tr> <tr> <th> {{ trans('cruds.addressBook.fields.is_default') }} </th> <td> <input type="checkbox" disabled="disabled" {{ $addressBook->is_default ? 'checked' : '' }}> </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.address-books.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> @endsection addressBooks/create.blade.php 0000644 00000014353 15021252041 0012207 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.addressBook.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.address-books.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="user_id">{{ trans('cruds.addressBook.fields.user') }}</label> <select class="form-control select2 {{ $errors->has('user') ? 'is-invalid' : '' }}" name="user_id" id="user_id" required> @foreach($users as $id => $entry) <option value="{{ $id }}" {{ old('user_id') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('user')) <span class="text-danger">{{ $errors->first('user') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.user_helper') }}</span> </div> <div class="form-group"> <label class="required" for="contact_person">{{ trans('cruds.addressBook.fields.contact_person') }}</label> <input class="form-control {{ $errors->has('contact_person') ? 'is-invalid' : '' }}" type="text" name="contact_person" id="contact_person" value="{{ old('contact_person', '') }}" required> @if($errors->has('contact_person')) <span class="text-danger">{{ $errors->first('contact_person') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.contact_person_helper') }}</span> </div> <div class="form-group"> <label class="required" for="address_line_1">{{ trans('cruds.addressBook.fields.address_line_1') }}</label> <input class="form-control {{ $errors->has('address_line_1') ? 'is-invalid' : '' }}" type="text" name="address_line_1" id="address_line_1" value="{{ old('address_line_1', '') }}" required> @if($errors->has('address_line_1')) <span class="text-danger">{{ $errors->first('address_line_1') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.address_line_1_helper') }}</span> </div> <div class="form-group"> <label for="address_line_2">{{ trans('cruds.addressBook.fields.address_line_2') }}</label> <input class="form-control {{ $errors->has('address_line_2') ? 'is-invalid' : '' }}" type="text" name="address_line_2" id="address_line_2" value="{{ old('address_line_2', '') }}"> @if($errors->has('address_line_2')) <span class="text-danger">{{ $errors->first('address_line_2') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.address_line_2_helper') }}</span> </div> <div class="form-group"> <label for="city">{{ trans('cruds.addressBook.fields.city') }}</label> <input class="form-control {{ $errors->has('city') ? 'is-invalid' : '' }}" type="text" name="city" id="city" value="{{ old('city', '') }}"> @if($errors->has('city')) <span class="text-danger">{{ $errors->first('city') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.city_helper') }}</span> </div> <div class="form-group"> <label for="state">{{ trans('cruds.addressBook.fields.state') }}</label> <input class="form-control {{ $errors->has('state') ? 'is-invalid' : '' }}" type="text" name="state" id="state" value="{{ old('state', '') }}"> @if($errors->has('state')) <span class="text-danger">{{ $errors->first('state') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.state_helper') }}</span> </div> <div class="form-group"> <label for="country">{{ trans('cruds.addressBook.fields.country') }}</label> <input class="form-control {{ $errors->has('country') ? 'is-invalid' : '' }}" type="text" name="country" id="country" value="{{ old('country', '') }}"> @if($errors->has('country')) <span class="text-danger">{{ $errors->first('country') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.country_helper') }}</span> </div> <div class="form-group"> <label for="zip_code">{{ trans('cruds.addressBook.fields.zip_code') }}</label> <input class="form-control {{ $errors->has('zip_code') ? 'is-invalid' : '' }}" type="text" name="zip_code" id="zip_code" value="{{ old('zip_code', '') }}"> @if($errors->has('zip_code')) <span class="text-danger">{{ $errors->first('zip_code') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.zip_code_helper') }}</span> </div> <div class="form-group"> <div class="form-check {{ $errors->has('is_default') ? 'is-invalid' : '' }}"> <input type="hidden" name="is_default" value="0"> <input class="form-check-input" type="checkbox" name="is_default" id="is_default" value="1" {{ old('is_default', 0) == 1 ? 'checked' : '' }}> <label class="form-check-label" for="is_default">{{ trans('cruds.addressBook.fields.is_default') }}</label> </div> @if($errors->has('is_default')) <span class="text-danger">{{ $errors->first('is_default') }}</span> @endif <span class="help-block">{{ trans('cruds.addressBook.fields.is_default_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection productPrices/edit.blade.php 0000644 00000006466 15021252041 0012102 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.edit') }} {{ trans('cruds.productPrice.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.product-prices.update", [$productPrice->id]) }}" enctype="multipart/form-data"> @method('PUT') @csrf <div class="form-group"> <label class="required" for="product_id">{{ trans('cruds.productPrice.fields.product') }}</label> <select class="form-control select2 {{ $errors->has('product') ? 'is-invalid' : '' }}" name="product_id" id="product_id" required> @foreach($products as $id => $entry) <option value="{{ $id }}" {{ (old('product_id') ? old('product_id') : $productPrice->product->id ?? '') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('product')) <span class="text-danger">{{ $errors->first('product') }}</span> @endif <span class="help-block">{{ trans('cruds.productPrice.fields.product_helper') }}</span> </div> <div class="form-group"> <label class="required" for="qty_from">{{ trans('cruds.productPrice.fields.qty_from') }}</label> <input class="form-control {{ $errors->has('qty_from') ? 'is-invalid' : '' }}" type="number" name="qty_from" id="qty_from" value="{{ old('qty_from', $productPrice->qty_from) }}" step="1" required> @if($errors->has('qty_from')) <span class="text-danger">{{ $errors->first('qty_from') }}</span> @endif <span class="help-block">{{ trans('cruds.productPrice.fields.qty_from_helper') }}</span> </div> <div class="form-group"> <label class="required" for="qty_to">{{ trans('cruds.productPrice.fields.qty_to') }}</label> <input class="form-control {{ $errors->has('qty_to') ? 'is-invalid' : '' }}" type="number" name="qty_to" id="qty_to" value="{{ old('qty_to', $productPrice->qty_to) }}" step="1" required> @if($errors->has('qty_to')) <span class="text-danger">{{ $errors->first('qty_to') }}</span> @endif <span class="help-block">{{ trans('cruds.productPrice.fields.qty_to_helper') }}</span> </div> <div class="form-group"> <label class="required" for="price">{{ trans('cruds.productPrice.fields.price') }}</label> <input class="form-control {{ $errors->has('price') ? 'is-invalid' : '' }}" type="number" name="price" id="price" value="{{ old('price', $productPrice->price) }}" step="0.01" required> @if($errors->has('price')) <span class="text-danger">{{ $errors->first('price') }}</span> @endif <span class="help-block">{{ trans('cruds.productPrice.fields.price_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection productPrices/index.blade.php 0000644 00000012477 15021252041 0012263 0 ustar 00 @extends('layouts.admin') @section('content') @can('product_price_create') <div style="margin-bottom: 10px;" class="row"> <div class="col-lg-12"> <a class="btn btn-success" href="{{ route('admin.product-prices.create') }}"> {{ trans('global.add') }} {{ trans('cruds.productPrice.title_singular') }} </a> </div> </div> @endcan <div class="card"> <div class="card-header"> {{ trans('cruds.productPrice.title_singular') }} {{ trans('global.list') }} </div> <div class="card-body"> <table class=" table table-bordered table-striped table-hover ajaxTable datatable datatable-ProductPrice"> <thead> <tr> <th width="10"> </th> <th> {{ trans('cruds.productPrice.fields.id') }} </th> <th> {{ trans('cruds.productPrice.fields.product') }} </th> <th> {{ trans('cruds.product.fields.name') }} </th> <th> {{ trans('cruds.productPrice.fields.qty_from') }} </th> <th> {{ trans('cruds.productPrice.fields.qty_to') }} </th> <th> {{ trans('cruds.productPrice.fields.price') }} </th> <th> </th> </tr> <tr> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <select class="search"> <option value>{{ trans('global.all') }}</option> @foreach($products as $key => $item) <option value="{{ $item->name }}">{{ $item->name }}</option> @endforeach </select> </td> <td> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> <input class="search" type="text" placeholder="{{ trans('global.search') }}"> </td> <td> </td> </tr> </thead> </table> </div> </div> @endsection @section('scripts') @parent <script> $(function () { let dtButtons = $.extend(true, [], $.fn.dataTable.defaults.buttons) @can('product_price_delete') let deleteButtonTrans = '{{ trans('global.datatables.delete') }}'; let deleteButton = { text: deleteButtonTrans, url: "{{ route('admin.product-prices.massDestroy') }}", className: 'btn-danger', action: function (e, dt, node, config) { var ids = $.map(dt.rows({ selected: true }).data(), function (entry) { return entry.id }); if (ids.length === 0) { alert('{{ trans('global.datatables.zero_selected') }}') return } if (confirm('{{ trans('global.areYouSure') }}')) { $.ajax({ headers: {'x-csrf-token': _token}, method: 'POST', url: config.url, data: { ids: ids, _method: 'DELETE' }}) .done(function () { location.reload() }) } } } dtButtons.push(deleteButton) @endcan let dtOverrideGlobals = { buttons: dtButtons, processing: true, serverSide: true, retrieve: true, aaSorting: [], ajax: "{{ route('admin.product-prices.index') }}", columns: [ { data: 'placeholder', name: 'placeholder' }, { data: 'id', name: 'id' }, { data: 'product_name', name: 'product.name' }, { data: 'product.name', name: 'product.name' }, { data: 'qty_from', name: 'qty_from' }, { data: 'qty_to', name: 'qty_to' }, { data: 'price', name: 'price' }, { data: 'actions', name: '{{ trans('global.actions') }}' } ], orderCellsTop: true, order: [[ 1, 'desc' ]], pageLength: 100, }; let table = $('.datatable-ProductPrice').DataTable(dtOverrideGlobals); $('a[data-toggle="tab"]').on('shown.bs.tab click', function(e){ $($.fn.dataTable.tables(true)).DataTable() .columns.adjust(); }); let visibleColumnsIndexes = null; $('.datatable thead').on('input', '.search', function () { let strict = $(this).attr('strict') || false let value = strict && this.value ? "^" + this.value + "$" : this.value let index = $(this).parent().index() if (visibleColumnsIndexes !== null) { index = visibleColumnsIndexes[index] } table .column(index) .search(value, strict) .draw() }); table.on('column-visibility.dt', function(e, settings, column, state) { visibleColumnsIndexes = [] table.columns(":visible").every(function(colIdx) { visibleColumnsIndexes.push(colIdx); }); }) }); </script> @endsection productPrices/show.blade.php 0000644 00000004523 15021252041 0012125 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.show') }} {{ trans('cruds.productPrice.title') }} </div> <div class="card-body"> <div class="form-group"> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.product-prices.index') }}"> {{ trans('global.back_to_list') }} </a> </div> <table class="table table-bordered table-striped"> <tbody> <tr> <th> {{ trans('cruds.productPrice.fields.id') }} </th> <td> {{ $productPrice->id }} </td> </tr> <tr> <th> {{ trans('cruds.productPrice.fields.product') }} </th> <td> {{ $productPrice->product->name ?? '' }} </td> </tr> <tr> <th> {{ trans('cruds.productPrice.fields.qty_from') }} </th> <td> {{ $productPrice->qty_from }} </td> </tr> <tr> <th> {{ trans('cruds.productPrice.fields.qty_to') }} </th> <td> {{ $productPrice->qty_to }} </td> </tr> <tr> <th> {{ trans('cruds.productPrice.fields.price') }} </th> <td> {{ $productPrice->price }} </td> </tr> </tbody> </table> <div class="form-group"> <a class="btn btn-default" href="{{ route('admin.product-prices.index') }}"> {{ trans('global.back_to_list') }} </a> </div> </div> </div> </div> @endsection productPrices/create.blade.php 0000644 00000006224 15021252041 0012410 0 ustar 00 @extends('layouts.admin') @section('content') <div class="card"> <div class="card-header"> {{ trans('global.create') }} {{ trans('cruds.productPrice.title_singular') }} </div> <div class="card-body"> <form method="POST" action="{{ route("admin.product-prices.store") }}" enctype="multipart/form-data"> @csrf <div class="form-group"> <label class="required" for="product_id">{{ trans('cruds.productPrice.fields.product') }}</label> <select class="form-control select2 {{ $errors->has('product') ? 'is-invalid' : '' }}" name="product_id" id="product_id" required> @foreach($products as $id => $entry) <option value="{{ $id }}" {{ old('product_id') == $id ? 'selected' : '' }}>{{ $entry }}</option> @endforeach </select> @if($errors->has('product')) <span class="text-danger">{{ $errors->first('product') }}</span> @endif <span class="help-block">{{ trans('cruds.productPrice.fields.product_helper') }}</span> </div> <div class="form-group"> <label class="required" for="qty_from">{{ trans('cruds.productPrice.fields.qty_from') }}</label> <input class="form-control {{ $errors->has('qty_from') ? 'is-invalid' : '' }}" type="number" name="qty_from" id="qty_from" value="{{ old('qty_from', '') }}" step="1" required> @if($errors->has('qty_from')) <span class="text-danger">{{ $errors->first('qty_from') }}</span> @endif <span class="help-block">{{ trans('cruds.productPrice.fields.qty_from_helper') }}</span> </div> <div class="form-group"> <label class="required" for="qty_to">{{ trans('cruds.productPrice.fields.qty_to') }}</label> <input class="form-control {{ $errors->has('qty_to') ? 'is-invalid' : '' }}" type="number" name="qty_to" id="qty_to" value="{{ old('qty_to', '') }}" step="1" required> @if($errors->has('qty_to')) <span class="text-danger">{{ $errors->first('qty_to') }}</span> @endif <span class="help-block">{{ trans('cruds.productPrice.fields.qty_to_helper') }}</span> </div> <div class="form-group"> <label class="required" for="price">{{ trans('cruds.productPrice.fields.price') }}</label> <input class="form-control {{ $errors->has('price') ? 'is-invalid' : '' }}" type="number" name="price" id="price" value="{{ old('price', '') }}" step="0.01" required> @if($errors->has('price')) <span class="text-danger">{{ $errors->first('price') }}</span> @endif <span class="help-block">{{ trans('cruds.productPrice.fields.price_helper') }}</span> </div> <div class="form-group"> <button class="btn btn-danger" type="submit"> {{ trans('global.save') }} </button> </div> </form> </div> </div> @endsection
| ver. 1.4 |
Github
|
.
| PHP 8.1.29 | Генерация страницы: 0.1 |
proxy
|
phpinfo
|
Настройка