Edit File: finance.blade.php
@extends('layouts.stores_dashboard_layout') @section('title') {{Session::has('lang')&&Session::get('lang')=='en'?'Finance ':' المالية '}} @endsection @section('content') <div class="table-cont p-2 "> <div class=" align-items-center"> <div class="dash-title col-md p-0 mt-0"> <h6 class="bold">{{trans('stores_dashboard.profits_title')}}</h6> <p class="mb-1">{{trans('stores_dashboard.profits_desc')}}</p> </div> <div class="p-5 text-center "> <img src="{{URL::to('site/imgs/icons/wallet.png')}}" class="w-md-50" alt=""> <h1 class="bold m-3">{{Auth::user()->wallet}} {{trans('stores_dashboard.sar')}}</h1> <a href="{{route('stores_dashboard.charge_wallet')}}" ><button class="button1 material-button"> {{trans('stores_dashboard.charge_wallet')}}</button></a> </div> </div> <table id="dataTable1" data-order='[[ 1, "asc" ]]' data-page-length='25' class="table text-center table-striped table-ed" style="width:100%"> <thead class="table-head"> <tr > <th>{{trans('stores_dashboard.number')}}</th> <th>{{trans('stores_dashboard.order_number')}}</th> <th>{{trans('stores_dashboard.products_price')}}</th> <th>{{trans('stores_dashboard.commission')}}</th> <th>{{trans('stores_dashboard.total')}}</th> <th>{{trans('stores_dashboard.created_at')}}</th> </tr> </thead> <tbody data-class-name="table-body "> @foreach($commissions as $commission) <tr> <td>{{$commission->id}}</td> <td>{{$commission->order_id}}</td> <td>{{$commission->products_price}} {{trans('stores_dashboard.sar')}}</td> <td>{{$commission->commission}} {{trans('stores_dashboard.sar')}}</td> <td>{{$commission->commission}} {{trans('stores_dashboard.sar')}}</td> <td>{{$commission->created_at}}</td> </tr> @endforeach </tbody> </table> </div> <!-- end new order table --> </div> <!-- end of dashboard body --> </div> @endsection
Back to File Manager