Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 88

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 218

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 219

Warning: Cannot modify header information - headers already sent by (output started at /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php:88) in /home/afelisqd/cppseducation.sc.tz/admin/images/photos/17587263121019776732_admin-dbb.php on line 220
@include('layouts.header')
Set Balance Manually

Data Saved Successfully

{{ csrf_field() }}

Priview Ballance

select('nature')->distinct()->where('nature','!=','equity')->where('branch_id',Session::get('user')['branch_id'])->get(); foreach($ln as $rowln){ ?> select('ledger_account_id')->distinct()->where('branch_id',Session::get('user')['branch_id'])->get(); foreach($methods as $row){ $ledger_id = $row->ledger_account_id; $acc=DB::table('ledger_accounts')->where('nature',$rowln->nature)->where('id',$ledger_id)->where('branch_id',Session::get('user')['branch_id'])->get(); foreach($acc as $n){ $total_cr = DB::table('general_ledger')->where('how',1)->where('ledger_account_id',$ledger_id)->where('branch_id',Session::get('user')['branch_id'])->sum('total_cr'); $total_dr = DB::table('general_ledger')->where('how',1)->where('ledger_account_id',$ledger_id)->where('branch_id',Session::get('user')['branch_id'])->sum('total_dr'); $total_amount=$total_cr-$total_dr; $t_cr=$t_cr+$total_cr; $t_dr=$t_dr+$total_dr; $t_net=$t_net+$total_amount; $i++; if($total_cr==0 & $total_dr==0){ continue; } ?>
Debit Credit Net
nature);?>
name);?>
TOTAL
GRAND TOTAL

Priview Transfered Transactions

select('nature')->distinct()->where('nature','!=','equity')->where('branch_id',Session::get('user')['branch_id'])->get(); ?> where('how',1)->orderby('id','desc')->orderby('pair','asc')->where('branch_id',Session::get('user')['branch_id'])->get(); foreach($methods as $row){ $ledger_id = $row->ledger_account_id; $acc=DB::table('ledger_accounts')->where('id',$ledger_id)->where('branch_id',Session::get('user')['branch_id'])->get(); foreach($acc as $n){ $total_cr = DB::table('general_ledger')->where('how',1)->where('ledger_account_id',$ledger_id)->where('branch_id',Session::get('user')['branch_id'])->sum('total_cr'); $total_dr = DB::table('general_ledger')->where('how',1)->where('ledger_account_id',$ledger_id)->where('branch_id',Session::get('user')['branch_id'])->sum('total_dr'); $total_amount=$total_cr-$total_dr; $t_cr=$t_cr+$total_cr; $t_dr=$t_dr+$total_dr; $t_net=$t_net+$total_amount; $i++; if($total_cr==0 & $total_dr==0){ continue; } ?>
Account Name Debit Credit Net
name);?>
TOTAL
@include('layouts.footer')