<!--pages/cashier_stat/cashier_stat.wxml-->
<view class="all">
	<view class="header">
		<view class="user">
			<view class="user-head">
				<image src="{{store.thumb}}" mode='widthFix' />
			</view>
			<view class="cashier-name">
				{{ store.name }}
			</view>
		</view>
	</view>
	<view class="data-btn">
		<view class="button" catchtap="getStatbtn">查看今日数据</view>
	</view>
	<view class="cart">
		<view class="listStat">
			<view class="left">
				累计订单金额
			</view>
			<view class="right">
				{{language['money']}}{{ stat.order_price }}
			</view>
		</view>
		<view class="listStat">
			<view class="left">应收款金额</view>
			<view class="right">
				{{language['money']}}{{ stat.receivable_price }}
			</view>
		</view>
		<view class="listStat">
			<view class="left">{{is_hotel?"已结算金额":"已提现金额"}}</view>
			<view class="right">
				{{language['money']}}{{ stat.finish_withdraw }}
			</view>
		</view>
		<view class="listStat">
			<view class="left">未结算金额</view>
			<view class="right">
				{{language['money']}}{{ stat.not_withdraw }}
			</view>
		</view>
		<view class="listStat">
			<view class="left">奖励会员{{integral || '积分'}}数量</view>
			<view class="right">
				{{ stat.remard_buyer_point }}
			</view>
		</view>
		<view class="listStat" wx:if="{{stat.is_open_love}}">
			<view class="left">奖励会员{{ stat.love_name }}数量</view>
			<view class="right">
				{{ stat.remard_buyer_love }}
			</view>
		</view>
		<view class="listStat">
			<view class="left">奖励商家{{integral || '积分'}}数量</view>
			<view class="right">
				{{ stat.remard_store_point }}
			</view>
		</view>
		<view class="listStat" wx:if="{{stat.is_open_love}}">
			<view class="left">奖励商家{{ stat.love_name }}数量</view>
			<view class="right">
				{{ stat.remard_store_love }}
			</view>
		</view>
		<view class="listStat" wx:if="{{!is_hotel}}">
			<view class="left">奖励会员优惠券数量</view>
			<view class="right">
				{{ stat.remard_buyer_coupon }}
			</view>
		</view>
		<view class="listStat" wx:if="{{!is_hotel}}">
			<view class="left">{{integral || '积分'}}抵扣</view>
			<view class="right">
				{{language['money']}}{{ stat.deduct_point }}
			</view>
		</view>
		<view class="listStat" wx:if="{{stat.is_open_love && !is_hotel}}">
			<view class="left">{{ stat.love_name }}抵扣</view>
			<view class="right">
				{{language['money']}}{{ stat.deduct_love }}
			</view>
		</view>
		<view class="listStat" wx:if="{{!is_hotel}}">
			<view class="left">优惠券抵扣</view>
			<view class="right">
				{{language['money']}}{{ stat.deduct_coupon }}
			</view>
		</view>
	</view>
</view>
