update marketing
All checks were successful
Build, Push and Deploy / build-and-push (push) Successful in 5m14s
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 17s
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 11:55:22 +07:00
parent f80fcc4c1b
commit 05fd3230b8
448 changed files with 17545 additions and 5128 deletions

View File

@@ -4,6 +4,10 @@
{{ __('Create Transfer') }}
@endsection
@php
$modules = product_setting()->modules ?? [];
@endphp
@section('main_content')
<div class="erp-table-section">
<div class="container-fluid">
@@ -14,7 +18,7 @@
</div>
<div class="order-form-section p-16">
<form action="{{ route('business.transfers.store') }}" method="POST"
class="ajaxform_instant_reload">
class="ajaxform_instant_reload">
@csrf
<div class="add-suplier-modal-wrapper d-block">
<div class="row">
@@ -85,17 +89,18 @@ class="ajaxform_instant_reload">
</span>
</div>
<div class="dropdown-search hidden" id="searchContainer">
<input type="text" id="productSearch" placeholder="Search product..."/>
<input type="text" id="productSearch" placeholder="{{__('Search product...')}}"/>
</div>
<div class="product-dropdown-options" id="dropdownList">
{{-- fetch dynamically from js --}}
</div>
</div>
<a href="{{ route('business.products.create') }}" class="btn btn-danger square-btn trasfer-square-btn d-flex justify-content-center align-items-center">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 4.16797V15.8346" stroke="#C52127" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M4.16602 10H15.8327" stroke="#C52127" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
<a href="{{ route('business.products.create') }}"
class="btn btn-danger square-btn trasfer-square-btn d-flex justify-content-center align-items-center">
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10 4.16797V15.8346" stroke="var(--clr-primary)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
<path d="M4.16602 10H15.8327" stroke="var(--clr-primary)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</svg>
</a>
</div>
</div>
@@ -114,21 +119,24 @@ class="ajaxform_instant_reload">
<div id="product-table-container" class="table-responsive mt-4">
<table class="table table-bordered text-center">
<thead>
<tr>
<th class="border p-2 table-background">{{ __('Image') }}</th>
<th class="border p-2 table-background">{{ __('Items') }}</th>
<th class="border p-2 table-background">{{ __('Code') }}</th>
<th class="border p-2 table-background">{{ __('Batch') }}</th>
<th class="border p-2 table-background">{{ __('Qty') }}</th>
<th class="border p-2 table-background">{{ __('Unit Price') }}</th>
<th class="border p-2 table-background">{{ __('Tax') }}</th>
<th class="border p-2 table-background">{{ __('Discount') }}</th>
<th class="border p-2 table-background">{{ __('Sub Total') }}</th>
<th class="border p-2 table-background">{{ __('Action') }}</th>
</tr>
<tr>
<th class="border p-2 table-background">{{ __('Image') }}</th>
<th class="border p-2 table-background">{{ __('Items') }}</th>
<th class="border p-2 table-background">{{ __('Code') }}</th>
<th class="border p-2 table-background">{{ __('Batch') }}</th>
<th class="border p-2 table-background">{{ __('Qty') }}</th>
<th class="border p-2 table-background">{{ __('Unit Price') }}</th>
@if (moduleCheck('SerialCodeAddon'))
<th class="border p-2 table-background serial-option">{{ __('Serial') }}</th>
@endif
<th class="border p-2 table-background">{{ __('Tax') }}</th>
<th class="border p-2 table-background">{{ __('Discount') }}</th>
<th class="border p-2 table-background">{{ __('Sub Total') }}</th>
<th class="border p-2 table-background">{{ __('Action') }}</th>
</tr>
</thead>
<tbody id="product-list">
{{-- added via jquery --}}
{{-- added via jquery --}}
</tbody>
</table>
</div>
@@ -145,23 +153,20 @@ class="payment-container mb-3 amount-info-container inventory-amount-info-contai
<h6>{{ __('Sub Total') }}</h6>
<h6 class="fw-bold" id="total_amount">{{ currency_format(0, currency: business_currency()) }}</h6>
</div>
<div class="mb-2 d-flex align-items-center justify-content-between">
<h6>{{ __('Discount') }}</h6>
<h6 class="fw-bold" id="discount_amount">{{ currency_format(0, currency: business_currency()) }}</h6>
</div>
<div class="mb-2 d-flex align-items-center justify-content-between">
<h6>{{ __('Tax') }}</h6>
<h6 class="fw-bold" id="tax_amount">{{ currency_format(0, currency: business_currency()) }}</h6>
</div>
<div class="row ">
<div class="col-6">
<h6 class="payment-title">{{ __('Shipping Charge') }}</h6>
</div>
<div class="col-6">
<input type="number" step="any" name="shipping_charge"id="shipping_amount" class="form-control right-start-input" placeholder="0">
<input type="number" step="any" name="shipping_charge" id="shipping_amount" class="form-control right-start-input" placeholder="0">
</div>
</div>
<div class=" d-flex align-items-center justify-content-between fw-bold">
@@ -193,13 +198,25 @@ class="payment-container mb-3 amount-info-container inventory-amount-info-contai
<input type="hidden" id="selectedProductValue" name="selectedProductValue">
<input type="hidden" id="asset_base_url" value="{{ asset('') }}">
<input type="hidden" id="get_stock_prices" value="{{ route('business.products.stocks-prices') }}">
@if(moduleCheck('warehouseAddon'))
<input type="hidden" id="branch_wise_warehouses" value="{{ route('warehouse.warehouses.branch') }}">
@endif
<input type="hidden" id="hasActiveBranch" value="{{ auth()->user()->active_branch ? 1 : 0 }}">
<input type="hidden" id="has-serial-code-addon" value="{{ moduleCheck('SerialCodeAddon') }}">
<input type="hidden" id="has-warehouse-addon" value="{{ moduleCheck('WarehouseAddon') }}">
<input type="hidden" id="check-serial-exist" value="{{ route('business.products.check-serial') }}">
<input type="hidden" id="get-product-serials" value="{{ route('business.products.get-serials') }}">
<input type="hidden" id="is-inventory-page" value="1">
@if(moduleCheck('WarehouseAddon'))
<input type="hidden" id="branch_wise_warehouses" value="{{ route('warehouse.warehouses.branch') }}">
@endif
@endsection
@push('js')
<script src="{{ asset('assets/js/custom/transfer.js') }}"></script>
@push('modal')
@if (moduleCheck('SerialCodeAddon'))
@include('serialcodeaddon::select-serial-modal')
@endif
@endpush
@push('js')
<script src="{{ asset('assets/js/custom/transfer.js') . '?v=' . time() }}"></script>
@endpush