Nuevos cambios hechos de diseño

This commit is contained in:
ellecio2
2023-08-23 17:33:44 -04:00
parent 7a806f84ff
commit d2e9ba53ab
3485 changed files with 691106 additions and 0 deletions

View File

@@ -0,0 +1,76 @@
{{-- <table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#e8ebef">
@php
$logo = get_setting('header_logo');
@endphp
<tr>
<td align="center" valign="top" class="container" style="padding:50px 10px;">
<!-- Container -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table width="650" border="0" cellspacing="0" cellpadding="0" class="mobile-shell">
<tr>
<td class="td" bgcolor="#ffffff" style="width:650px; min-width:650px; font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;">
<!-- Header -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tr>
<td class="p30-15-0" style="padding: 40px 30px 0px 30px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th class="column" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="img m-center" style="font-size:0pt; line-height:0pt; text-align:left;"><img src="{{ uploaded_asset($logo) }}" width="" height="24" border="0" alt="" /></td>
</tr>
</table>
</th>
<th class="column-empty" width="1" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;"></th>
<th class="column" width="120" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="text-header right" style="color:#000000; font-family:'Fira Mono', Arial,sans-serif; font-size:12px; line-height:16px; text-align:right;"><a href="{{ env('APP_URL') }}" target="_blank" class="link" style="color:#000001; text-decoration:none;"><span class="link" style="color:#000001; text-decoration:none;">{{ env('APP_NAME') }}</span></a></td>
</tr>
</table>
</th>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="separator" style="padding-top: 40px; border-bottom:4px solid #000000; font-size:0pt; line-height:0pt;">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END Header -->
<!-- Intro -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tr>
<td class="p30-15" style="padding: 70px 30px 70px 30px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="h2 center pb10" style="color:#000000; font-family:'Ubuntu', Arial,sans-serif; font-size:50px; line-height:60px; text-align:center; padding-bottom:10px;">{{ $array['subject'] }}</td>
</tr>
<tr>
<td class="h5 center blue pb30" style="font-family:'Ubuntu', Arial,sans-serif; font-size:20px; line-height:26px; text-align:center; color:#2e57ae; padding-bottom:30px;">{{ $array['content'] }} </td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END Intro -->
</td>
</tr>
<tr>
<td class="text-footer" style="padding-top: 30px; color:#1f2125; font-family:'Fira Mono', Arial,sans-serif; font-size:12px; line-height:22px; text-align:center;">
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END Container -->
</td>
</tr>
</table> --}}

View File

@@ -0,0 +1,2 @@
<p>{{ $content }}</p>
<a class="btn btn-primary btn-md" href="{{ $link }}">{{ translate('Change Bid') }}</a>

View File

@@ -0,0 +1,5 @@
<h1>{{ translate('Message') }}</h1>
<p>{{ $content }}</p>
<p><b>{{ translate('Sender') }}:</b>{{ $sender }}</p>
<p><b>{{ translate('Message') }}:</b>{{ $details }}</p>
<a class="btn btn-primary btn-md" href="{{ $link }}">{{ translate('See Details') }}</a>

View File

@@ -0,0 +1,178 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<meta http-equiv="Content-Type" content="text/html;"/>
<meta charset="UTF-8">
<style media="all">
@font-face {
font-family: 'Roboto';
src: url("{{ static_asset('fonts/Roboto-Regular.ttf') }}") format("truetype");
font-weight: normal;
font-style: normal;
}
*{
margin: 0;
padding: 0;
line-height: 1.3;
font-family: 'Roboto';
color: #333542;
}
body{
font-size: .875rem;
}
.gry-color *,
.gry-color{
color:#878f9c;
}
table{
width: 100%;
}
table th{
font-weight: normal;
}
table.padding th{
padding: .5rem .7rem;
}
table.padding td{
padding: .7rem;
}
table.sm-padding td{
padding: .2rem .7rem;
}
.border-bottom td,
.border-bottom th{
border-bottom:1px solid #eceff4;
}
.text-left{
text-align:left;
}
.text-right{
text-align:right;
}
.small{
font-size: .85rem;
}
.currency{
}
</style>
</head>
<body>
<div>
@php
$logo = get_setting('header_logo');
@endphp
<div style="background: #eceff4;padding: 1.5rem;">
<table>
<tr>
<td>
@if($logo != null)
<img loading="lazy" src="{{ uploaded_asset($logo) }}" height="40" style="display:inline-block;">
@else
<img loading="lazy" src="{{ static_asset('assets/img/logo.png') }}" height="40" style="display:inline-block;">
@endif
</td>
</tr>
</table>
<table>
<tr>
<td style="font-size: 1.2rem;" class="strong">{{ get_setting('site_name') }}</td>
<td class="text-right"></td>
</tr>
<tr>
<td class="gry-color small">{{ get_setting('contact_address') }}</td>
<td class="text-right"></td>
</tr>
<tr>
<td class="gry-color small">{{ translate('Email') }}: {{ get_setting('contact_email') }}</td>
<td class="text-right small"><span class="gry-color small">{{ translate('Order ID') }}:</span> <span class="strong">{{ $order->code }}</span></td>
</tr>
<tr>
<td class="gry-color small">{{ translate('Phone') }}: {{ get_setting('contact_phone') }}</td>
<td class="text-right small"><span class="gry-color small">{{ translate('Order Date') }}:</span> <span class=" strong">{{ date('d-m-Y', $order->date) }}</span></td>
</tr>
</table>
</div>
<div style="padding: 1.5rem;padding-bottom: 0">
<table>
@php
$shipping_address = json_decode($order->shipping_address);
@endphp
<tr><td class="strong small gry-color">{{ translate('Bill to') }}:</td></tr>
<tr><td class="strong">{{ $shipping_address->name }}</td></tr>
<tr><td class="gry-color small">{{ $shipping_address->address }}, {{ $shipping_address->city }}, {{ $shipping_address->country }}</td></tr>
<tr><td class="gry-color small">{{ translate('Email') }}: {{ $shipping_address->email }}</td></tr>
<tr><td class="gry-color small">{{ translate('Phone') }}: {{ $shipping_address->phone }}</td></tr>
</table>
</div>
<div style="padding: 1.5rem;">
<table class="padding text-left small border-bottom">
<thead>
<tr class="gry-color" style="background: #eceff4;">
<th width="35%">{{ translate('Product Name') }}</th>
<th width="15%">{{ translate('Delivery Type') }}</th>
<th width="10%">{{ translate('Qty') }}</th>
<th width="15%">{{ translate('Unit Price') }}</th>
<th width="10%">{{ translate('Tax') }}</th>
<th width="15%" class="text-right">{{ translate('Total') }}</th>
</tr>
</thead>
<tbody class="strong">
@foreach ($order->orderDetails as $key => $orderDetail)
@if ($orderDetail->product != null)
<tr class="">
<td>{{ $orderDetail->product->getTranslation('name') }} @if($orderDetail->variation != null) ({{ $orderDetail->variation }}) @endif</td>
<td>
@if ($order->shipping_type != null && $order->shipping_type == 'home_delivery')
{{ translate('Home Delivery') }}
@elseif ($order->shipping_type == 'pickup_point')
@if ($order->pickup_point != null)
{{ $order->pickup_point->getTranslation('name') }} ({{ translate('Pickip Point') }})
@endif
@endif
</td>
<td class="gry-color">{{ $orderDetail->quantity }}</td>
<td class="gry-color currency">{{ single_price($orderDetail->price/$orderDetail->quantity) }}</td>
<td class="gry-color currency">{{ single_price($orderDetail->tax/$orderDetail->quantity) }}</td>
<td class="text-right currency">{{ single_price($orderDetail->price+$orderDetail->tax) }}</td>
</tr>
@endif
@endforeach
</tbody>
</table>
</div>
<div style="padding:0 1.5rem;">
<table style="width: 40%;margin-left:auto;" class="text-right sm-padding small strong">
<tbody>
<tr>
<th class="gry-color text-left">{{ translate('Sub Total') }}</th>
<td class="currency">{{ single_price($order->orderDetails->sum('price')) }}</td>
</tr>
<tr>
<th class="gry-color text-left">{{ translate('Shipping Cost') }}</th>
<td class="currency">{{ single_price($order->orderDetails->sum('shipping_cost')) }}</td>
</tr>
<tr class="border-bottom">
<th class="gry-color text-left">{{ translate('Total Tax') }}</th>
<td class="currency">{{ single_price($order->orderDetails->sum('tax')) }}</td>
</tr>
<tr class="border-bottom">
<th class="gry-color text-left">{{ translate('Coupon') }}</th>
<td class="currency">{{ single_price($order->coupon_discount) }}</td>
</tr>
<tr>
<th class="text-left strong">{{ translate('Grand Total') }}</th>
<td class="currency">{{ single_price($order->grand_total) }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,3 @@
@php
echo $array['content'];
@endphp

View File

@@ -0,0 +1,9 @@
<h1>{{ translate('Ticket') }}</h1>
<p>{{ $content }}</p>
<p><b>{{ translate('Sender') }}: </b>{{ $sender }}</p>
<p>
<b>{{ translate('Details') }}:</b>
<br>
@php echo $details; @endphp
</p>
<a class="btn btn-primary btn-md" href="{{ $link }}">{{ translate('See ticket') }}</a>

View File

@@ -0,0 +1,83 @@
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#e8ebef">
@php
$logo = get_setting('header_logo');
@endphp
<tr>
<td align="center" valign="top" class="container" style="padding:50px 10px;">
<!-- Container -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table width="650" border="0" cellspacing="0" cellpadding="0" class="mobile-shell">
<tr>
<td class="td" bgcolor="#ffffff" style="width:650px; min-width:650px; font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;">
<!-- Header -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tr>
<td class="p30-15-0" style="padding: 40px 30px 0px 30px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<th class="column" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="img m-center" style="font-size:0pt; line-height:0pt; text-align:left;"><img src="{{ uploaded_asset($logo) }}" width="" height="24" border="0" alt="" /></td>
</tr>
</table>
</th>
<th class="column-empty" width="1" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;"></th>
<th class="column" width="120" style="font-size:0pt; line-height:0pt; padding:0; margin:0; font-weight:normal;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="text-header right" style="color:#000000; font-family:'Fira Mono', Arial,sans-serif; font-size:12px; line-height:16px; text-align:right;"><a href="{{ env('APP_URL') }}" target="_blank" class="link" style="color:#000001; text-decoration:none;"><span class="link" style="color:#000001; text-decoration:none;">{{ env('APP_NAME') }}</span></a></td>
</tr>
</table>
</th>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="separator" style="padding-top: 40px; border-bottom:4px solid #000000; font-size:0pt; line-height:0pt;">&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END Header -->
<!-- Intro -->
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff">
<tr>
<td class="p30-15" style="padding: 70px 30px 70px 30px;">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="h2 center pb10" style="color:#000000; font-family:'Ubuntu', Arial,sans-serif; font-size:50px; line-height:60px; text-align:center; padding-bottom:10px;">{{ $array['subject'] }}</td>
</tr>
<tr>
<td class="h5 center blue pb30" style="font-family:'Ubuntu', Arial,sans-serif; font-size:20px; line-height:26px; text-align:center; color:#2e57ae; padding-bottom:30px;">{{ $array['content'] }} </td>
</tr>
@if(!empty( $array['link']))
<tr>
<td class="h5 center blue pb30" style="font-family:'Ubuntu', Arial,sans-serif; font-size:20px; line-height:26px; text-align:center; color:#2e57ae; padding-bottom:30px;">
<a href="{{ $array['link'] }}" style="background: #007bff;padding: 0.9rem 2rem;font-size: 0.875rem;color:#fff;border-radius: .2rem;" target="_blank">{{ translate("Click Here") }}</a>
</td>
</tr>
@endif
</table>
</td>
</tr>
</table>
<!-- END Intro -->
</td>
</tr>
<tr>
<td class="text-footer" style="padding-top: 30px; color:#1f2125; font-family:'Fira Mono', Arial,sans-serif; font-size:12px; line-height:22px; text-align:center;">
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- END Container -->
</td>
</tr>
</table>

View File

@@ -0,0 +1,156 @@
<!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">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="color-scheme" content="light">
<meta name="supported-color-schemes" content="light">
<style>
@media only screen and (max-width: 600px) {
.inner-body {
width: 100% !important;
}
.footer {
width: 100% !important;
}
}
@media only screen and (max-width: 500px) {
.button {
width: 100% !important;
}
}
</style>
</head>
<body>
<table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
@props(['url'])
<tr>
<td class="header">
<a href="{{-- $url --}}" style="display: inline-block;">
{{-- <img src="https://laravel.com/img/notification-logo.png" class="logo" alt="Laravel Logo"> --}}
{{-- <img src="{{ \Illuminate\Support\Facades\Storage::url($system_email->cover->url) }}" class="logo" alt="Abrevius Logo"> --}}
</a>
</td>
</tr>
<!-- Email Body -->
<tr>
<td class="body" width="100%" cellpadding="0" cellspacing="0" style="border: hidden !important;">
<table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
<!-- Body content -->
<tr>
<td class="content-cell">
{{-- VERIFICACION DE CUENTA --}}
<table class="action" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td align="center">
<table border="0" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td style="font-size: 18px;">
<a href="{{ route('verification.verify', ['id' => $user->id, 'hash' => $user->confirmation_code]) }}" class="button button-primary" target="_blank" rel="noopener">Confirme su dirección de correo electrónico</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td style="font-size: 18px;">
Si no creó una cuenta, no se requiere ninguna otra acción.
</td>
</tr>
<tr>
<td style="font-size: 18px; height: 20px;">&nbsp;</td>
</tr>
<tr>
<td style="font-size: 18px;">
Saludos,
</td>
</tr>
<tr>
<td style="font-size: 18px;">
{{ config('app.name') }}
</td>
</tr>
</table>
<table class="subcopy" width="100%" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td style="font-size: 18px; height: 20px;">&nbsp;</td>
</tr>
<tr>
<td style="font-size: 15px;">
Si tiene problemas para hacer clic en el botón "Dirección verificación de correo electrónico", copie y pegue la URL a continuación en su navegador web: {{ url('verify/' . $user->confirmation_code) }}
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table class="footer" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
<tr>
<td class="content-cell" align="center">
© {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>