@extends('adminlte::layouts.app') @section('htmlheader_title') {{ trans('adminlte_lang::message.home') }} @endsection @section('contentheader_title') <center>List Customer</center> @endsection @section('main-content') <table class="table table-striped"> <thead> <tr> <th>Nama</th> <th>Email</th> <th>username</th> <th>Saldo</th> </tr> </thead> <tbody> @foreach($users as $user) <tr> <td>{{$user->name}}</td> <td>{{$user->email}}</td> <td>{{$user->username}}</td> <td>{{$user->saldo}}</td> <td> <a href="{{ url('/addSaldo', $user->id) }}" type="submit" button type="button" class="btn btn-warning">Add Saldo</a> </tr> @endforeach </tbody> </table> @endsection