@extends('layout.default') @include('layout.filter') @section('styles') @endsection @section('content') @include('layout.notifications') @yield('filter_view')
@if(!empty($data))
{{ csrf_field() }}


@endif
@if(!empty($data)) @php $custom_date_start = date('Y-m-d', strtotime( $date_start ?? date('Y-m-d') )); $custom_date_end = date('Y-m-d', strtotime( $date_end ?? date('Y-m-d') )); @endphp @foreach($data as $val) {{-- --}} @endforeach @else @endif
title tipe diskon total transaction total gross sales total delivery fee total diskon total transaction delivery total pickup transaction Average Discount Action
{{$val['transaction_receipt_number']}}{{ $val['title'] }} {{ $val['type'] }} {{ number_format($val['total_transaction']) }} {{ 'Rp. '.number_format($val['total_gross_sales']) }} {{ 'Rp. '.number_format($val['total_delivery_fee']) }} {{ 'Rp. '.number_format($val['total_discount']) }} {{ number_format($val['total_transaction_delivery']) }} {{ number_format($val['total_transaction_pickup']) }} {{ number_format($val['average_discount']) }} @if ($val['type'] != 'delivery discount') Detail @endif
Data Not Available
@if (!empty($data_paginator)) {{ $data_paginator->links() }} @endif
@endsection @section('scripts') {{-- --}} @yield('filter_script') @if ($promo == 'subscription') @elseif ($promo == 'bundling') @endif @endsection