@foreach($records as $record)
    <div class="item">
        <div class="money">
            @if($record['change']>0)
                <span class="add">+{{sprintf('%0.2f',$record['change'])}}</span>
            @else
                <span class="minus">{{sprintf('%0.2f',$record['change'])}}</span>
            @endif
        </div>
        <div class="remark">{{$record['remark']}}</div>
        <div class="time">{{$record['created_at']}}</div>
    </div>
@endforeach