update perbaikan pos, return, dan report profit nlost
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 4m17s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 15s
Build, Push and Deploy / deploy-staging (push) Successful in 41s
Build, Push and Deploy / deploy-production (push) Has been skipped

This commit is contained in:
2026-05-14 22:19:01 +07:00
parent 1dfc06635d
commit 2fabdf8fc9
48 changed files with 1700 additions and 3030 deletions

View File

@@ -1,10 +1,9 @@
@extends('layouts.business.pdf.pdf_layout')
@section('pdf_title')
<style>
body {
font-family: notosansarmenian, sans-serif;
font-family: sans-serif;
font-size: 12px;
color: #000;
}
@@ -12,8 +11,6 @@
.invoice-container {
width: 100%;
padding: 10px;
direction: {{ app()->getLocale() == 'ar' ? 'rtl' : 'ltr' }};
text-align: {{ app()->getLocale() == 'ar' ? 'right' : 'left' }};
}
.border-none {
@@ -151,36 +148,10 @@
@include('business::pdf.fonts-css')
<style>
body {
font-family: notosansarmenian, sans-serif;
font-family: 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;
@@ -240,10 +211,6 @@
font-size: 11px;
margin-top: 10px;
}
.invoice-badge{
background-color: #c52127 !important;
}
</style>
@endpush
@endsection
@@ -263,7 +230,7 @@
}
@endphp
<div class="invoice-container" dir="{{ app()->getLocale() == 'ar' ? 'rtl' : 'ltr' }}">
<div class="invoice-container">
{{-- Header --}}
<table class="header-table">
<tr>
@@ -311,12 +278,12 @@
</table>
{{-- INVOICE BADGE --}}
<h3 class="invoice-badge"
<h3
style="
font-size: 20px;
font-weight: 600;
color: white;
background-color: #c52127;
padding: 5px 12px;
border-radius: 30px;
margin: 0;
@@ -333,14 +300,14 @@
{{-- Customer & Invoice Info --}}
<table class="header-table">
<tr>
<td style="width:50%; text-align:{{ app()->getLocale() == 'ar' ? 'right' : 'left' }};">
<td style="width:50%; text-align:{{ app()->getLocale() == 'ar' ? 'left' : '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' ? 'left' : 'right' }};">
<td style="width:50%; text-align:{{ app()->getLocale() == 'ar' ? 'right' : 'right' }};">
<div>{{ __('Invoice No') }} : {{ $sale->invoiceNumber ?? '' }}</div>
<div>{{ __('Date') }} : {{ formatted_date($sale->saleDate ?? '') }}</div>
<div>{{ __('Time') }} : {{ formatted_time($sale->saleDate ?? '') }}</div>
@@ -403,7 +370,7 @@
</table>
<table class="table-summery" width="100%" style="margin-top:15px;">
<table width="100%" style="margin-top:15px;">
<tr>
<!-- LEFT SIDE -->
<td width="60%" valign="top">