@extends('layouts.page')
@section('title')
View Indent
{{ $type == 'preview' ? 'Tally Preview' : 'Voucher'}}
@endsection
@section('navs')
@if ($type == 'preview')
{{ Form::open(['url' => route('tally.submit', [$model->name(), $model->id])]) }}
{{ Form::hidden('company', $company) }}
{{ Form::hidden('accountLedgerName', $accountLedgerName) }}
{{ Form::hidden('narration', $narration) }}
{{ Form::hidden('vouType', $vouType) }}
{{ Form::hidden('date', $date) }}
{{ Form::hidden('sync', isset($sync) ? 1 : 0) }}
{{ Form::hidden('data', json_encode($data)) }}
Warning: Undefined variable $data in /var/www/html/pruthvi/resources/views/tally/preview.blade.php on line 20
Warning: Trying to access array offset on null in /var/www/html/pruthvi/resources/views/tally/preview.blade.php on line 20
Fatal error: Uncaught TypeError: array_column(): Argument #1 ($array) must be of type array, null given in /var/www/html/pruthvi/resources/views/tally/preview.blade.php:20
Stack trace:
#0 /var/www/html/pruthvi/resources/views/tally/preview.blade.php(20): array_column()
#1 {main}
thrown in /var/www/html/pruthvi/resources/views/tally/preview.blade.php on line 20