Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/Webkul/Admin/src/Resources/lang/ar/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@
'subject' => 'Subject',
'tax' => 'الضريبة',
'title' => 'عرض السعر',
'description' => 'الوصف',
],
],
'create' => [
Expand Down
1 change: 1 addition & 0 deletions packages/Webkul/Admin/src/Resources/lang/en/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,7 @@
'subject' => 'Subject',
'tax' => 'Tax',
'title' => 'Quote',
'description' => 'Description',
],
],

Expand Down
1 change: 1 addition & 0 deletions packages/Webkul/Admin/src/Resources/lang/es/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@
'subject' => 'Asunto',
'tax' => 'Impuesto',
'title' => 'Cotización',
'description' => 'Descripción',
],
],
'create' => [
Expand Down
1 change: 1 addition & 0 deletions packages/Webkul/Admin/src/Resources/lang/fa/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@
'subject' => 'موضوع',
'tax' => 'مالیات',
'title' => 'نقل‌قول',
'description' => 'توضیحات',
],
],
'create' => [
Expand Down
1 change: 1 addition & 0 deletions packages/Webkul/Admin/src/Resources/lang/pt_BR/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@
'subject' => 'Assunto',
'tax' => 'Imposto',
'title' => 'Cotação',
'description' => 'Descrição',
],
],
'create' => [
Expand Down
1 change: 1 addition & 0 deletions packages/Webkul/Admin/src/Resources/lang/tr/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@
'subject' => 'Konu',
'tax' => 'Vergi',
'title' => 'Teklif',
'description' => 'Açıklama',
],
],
'create' => [
Expand Down
1 change: 1 addition & 0 deletions packages/Webkul/Admin/src/Resources/lang/vi/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@
'subject' => 'Chủ đề',
'tax' => 'Thuế',
'title' => 'Báo giá',
'description' => 'Mô tả',
],
],
'create' => [
Expand Down
39 changes: 28 additions & 11 deletions packages/Webkul/Admin/src/Resources/views/quotes/pdf.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
border-collapse: separate;
margin-bottom: 16px;
}

table thead th {
background-color: #E9EFFC;
color: #000DBB;
Expand Down Expand Up @@ -173,7 +173,7 @@
<tr>
<td style="width: 50%; padding: 2px 18px;border:none;">
<b>
@lang('admin::app.quotes.index.pdf.quote-id'):
@lang('admin::app.quotes.index.pdf.quote-id'):
</b>

<span>
Expand All @@ -195,7 +195,7 @@
<tr>
<td style="width: 50%; padding: 2px 18px;border:none;">
<b>
@lang('admin::app.quotes.index.pdf.sales-person'):
@lang('admin::app.quotes.index.pdf.sales-person'):
</b>

<span>
Expand All @@ -213,7 +213,7 @@
</span>
</td>
</tr>

<tr>
<td style="width: 50%; padding: 2px 18px;border:none;">
<b>
Expand Down Expand Up @@ -249,7 +249,24 @@
</tr>
</tbody>
</table>

@if ($quote->description)
<table class="{{ app()->getLocale() }}">
<tbody>
<tr>
<td style="width: 15%; padding: 2px 18px; border: none; vertical-align: top;">
<b>
@lang('admin::app.quotes.index.pdf.description'):
</b>
</td>
</tr>
<tr>
<td style="width: 85%; padding: 2px 18px; border: none;">
{!! $quote->description !!}
</td>
</tr>
</tbody>
</table>
@endif
<!-- Billing & Shipping Address -->
<table class="{{ $locale }}">
<thead>
Expand Down Expand Up @@ -285,7 +302,7 @@
<div>{{ core()->country_name($quote->billing_address['country'] ?? '') }}</div>
</td>
@endif

@if ($quote->shipping_address)
<td style="width: 50%">
<div>{{ $quote->shipping_address['address'] ?? ''}}</div>
Expand Down Expand Up @@ -358,7 +375,7 @@
<td class="text-center">{!! core()->formatBasePrice($item->discount_amount, true) !!}</td>

<td class="text-center">{!! core()->formatBasePrice($item->tax_amount, true) !!}</td>

<td class="text-center">{!! core()->formatBasePrice($item->total + $item->tax_amount - $item->discount_amount, true) !!}</td>
</tr>
@endforeach
Expand All @@ -375,25 +392,25 @@
<td>-</td>
<td>{!! core()->formatBasePrice($quote->sub_total, true) !!}</td>
</tr>

<tr>
<td>@lang('admin::app.quotes.index.pdf.tax')</td>
<td>-</td>
<td>{!! core()->formatBasePrice($quote->tax_amount, true) !!}</td>
</tr>

<tr>
<td>@lang('admin::app.quotes.index.pdf.discount')</td>
<td>-</td>
<td>{!! core()->formatBasePrice($quote->discount_amount, true) !!}</td>
</tr>

<tr>
<td>@lang('admin::app.quotes.index.pdf.adjustment')</td>
<td>-</td>
<td>{!! core()->formatBasePrice($quote->adjustment_amount, true) !!}</td>
</tr>

<tr>
<td><strong>@lang('admin::app.quotes.index.pdf.grand-total')</strong></td>
<td><strong>-</strong></td>
Expand Down
Loading