@extends('layouts.master') @section('title') @lang('translation.yajra-datatable') @endsection @section('css') @endsection @section('content')

@lang('translation.transaction_list')

{{-- @lang('translation.add') --}}
{{-- --}}
@php use Carbon\Carbon; $i=1; @endphp @foreach($billings as $bill) @foreach($user as $users) @if($bill->uid==$users->id) @endif @endforeach @foreach($price as $plansnam) @if($bill->scheme==$plansnam->id) @endif @endforeach @if($bill->scheme==1) @else {{-- --}} @endif @php $i++; @endphp @endforeach
@lang('translation.no') @lang('translation.first_name') @lang('translation.email') @lang('translation.company') @lang('translation.mobile') @lang('translation.plans') @lang('translation.price') @lang('translation.payment_date') @lang('translation.activation_date') @lang('translation.end_date') @lang('translation.action')
{{$i}}{{$users->fname}} {{$users->email}} {{$users->company}} {{$users->mobile}}{{$plansnam->name}} {{$plansnam->price}}{{ Carbon::parse($bill->billing_date)->format('d-m-Y') }} {{ Carbon::parse($bill->plans_start_at)->format('d-m-Y') }} {{ Carbon::parse($bill->plans_end_at)->format('d-m-Y') }}
@endsection