update marketing
All checks were successful
All checks were successful
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
@extends('layouts.business.pdf.pdf_layout')
|
||||
|
||||
@section('pdf_title')
|
||||
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-family: notosansarmenian, sans-serif;
|
||||
font-size: 12px;
|
||||
color: #000;
|
||||
}
|
||||
@@ -11,6 +12,8 @@
|
||||
.invoice-container {
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
direction: {{ app()->getLocale() == 'ar' ? 'rtl' : 'ltr' }};
|
||||
text-align: {{ app()->getLocale() == 'ar' ? 'right' : 'left' }};
|
||||
}
|
||||
|
||||
.border-none {
|
||||
@@ -148,10 +151,36 @@
|
||||
@include('business::pdf.fonts-css')
|
||||
<style>
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
font-family: notosansarmenian, sans-serif;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
:root {
|
||||
--clr-primary: var(--dynamic-primary, #c52127);
|
||||
--secondary-color: var(--dynamic-secondary, #0071bc);
|
||||
--sidebar-color: var(--dynamic-sidebar, #201415);
|
||||
--accent-color: var(--dynamic-accent, #fef0f1);
|
||||
--clr-white: #fff;
|
||||
--clr-white2: #f9f9f9;
|
||||
--clr-white3: #f3f7ff;
|
||||
--clr-black: #01040d;
|
||||
--clr-black2: #171717;
|
||||
--clr-black3: #344054;
|
||||
--clr-gray: #525252;
|
||||
--clr-gray1: #737373;
|
||||
--clr-gray2: #d4d4d4;
|
||||
--clr-gray3: #f5f5f5;
|
||||
--clr-gray4: #f4f5f7;
|
||||
--clr-gray5: #a3a3a3;
|
||||
--clr-violet: rgba(130, 49, 211, 1);
|
||||
--clr-violet-light: rgba(130, 49, 211, 0.12);
|
||||
--clr-green: #01b81a;
|
||||
--clr-green-light: rgba(1, 184, 26, 0.12);
|
||||
--clr-orange: #ff6565;
|
||||
--clr-orange-light: rgba(255, 116, 62, 0.12);
|
||||
--clr-red: #ef4444;
|
||||
--ff: "Inter", sans-serif;
|
||||
}
|
||||
.header-table {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
@@ -211,6 +240,10 @@
|
||||
font-size: 11px;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.invoice-badge{
|
||||
background-color: #c52127 !important;
|
||||
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
@endsection
|
||||
@@ -230,7 +263,7 @@
|
||||
}
|
||||
@endphp
|
||||
|
||||
<div class="invoice-container">
|
||||
<div class="invoice-container" dir="{{ app()->getLocale() == 'ar' ? 'rtl' : 'ltr' }}">
|
||||
{{-- Header --}}
|
||||
<table class="header-table">
|
||||
<tr>
|
||||
@@ -278,12 +311,12 @@
|
||||
</table>
|
||||
|
||||
{{-- INVOICE BADGE --}}
|
||||
<h3
|
||||
<h3 class="invoice-badge"
|
||||
style="
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
color: white;
|
||||
background-color: #c52127;
|
||||
|
||||
padding: 5px 12px;
|
||||
border-radius: 30px;
|
||||
margin: 0;
|
||||
@@ -300,14 +333,14 @@
|
||||
{{-- Customer & Invoice Info --}}
|
||||
<table class="header-table">
|
||||
<tr>
|
||||
<td style="width:50%; text-align:{{ app()->getLocale() == 'ar' ? 'left' : 'left' }};">
|
||||
<td style="width:50%; text-align:{{ app()->getLocale() == 'ar' ? 'right' : 'left' }};">
|
||||
<div>{{ __('Customer') }} : {{ $sale->party->name ?? __('Guest') }}</div>
|
||||
<div>{{ __('Address') }} : {{ $sale->party->address ?? '' }}</div>
|
||||
<div>{{ __('Phone') }} : {{ $sale->party->phone ?? __('Guest') }}</div>
|
||||
<div>{{ __('Remarks') }} : {{ $sale->meta['note'] ?? 'N/A' }}</div>
|
||||
</td>
|
||||
|
||||
<td style="width:50%; text-align:{{ app()->getLocale() == 'ar' ? 'right' : 'right' }};">
|
||||
<td style="width:50%; text-align:{{ app()->getLocale() == 'ar' ? 'left' : 'right' }};">
|
||||
<div>{{ __('Invoice No') }} : {{ $sale->invoiceNumber ?? '' }}</div>
|
||||
<div>{{ __('Date') }} : {{ formatted_date($sale->saleDate ?? '') }}</div>
|
||||
<div>{{ __('Time') }} : {{ formatted_time($sale->saleDate ?? '') }}</div>
|
||||
@@ -370,7 +403,7 @@
|
||||
</table>
|
||||
|
||||
|
||||
<table width="100%" style="margin-top:15px;">
|
||||
<table class="table-summery" width="100%" style="margin-top:15px;">
|
||||
<tr>
|
||||
<!-- LEFT SIDE -->
|
||||
<td width="60%" valign="top">
|
||||
|
||||
Reference in New Issue
Block a user