{% extends "main/main_base.html.twig" %} {% set page_title = "Cüzdanım" %} {% block title %}{{ page_title }}{% endblock %} {% set customer = user.customer %} {% set customerBalance = customer.balance|default("0") %} {% block body %} {% set fields = [{'name':page_title}] %} {% include 'main/common/_header.html.twig' %}

Toplam Bakiye : {{ money_format(customerBalance) }} TL



Bakiye Hareketleri

{% for balanceHistory in balanceHistories %} {% set order = balanceHistory.order %} {% endfor %}
Tarih Saat İşlem Tutar Kalan
{{ balanceHistory.createdAt|date('d/m/Y') }} {{ balanceHistory.createdAt|date('H:i') }} {% if order %} #{{ order.orderNumber|default }} Nolu {% endif %} {% if balanceHistory.operationType == '1' %} Siparişten Kazanıldı. {% else %} {% if balanceHistory.isOrderCancellation %} Siparişteki kazanç iptal edildi. {% else %} Siparişte Kulanıldı. {% endif %} {% endif %} {% if balanceHistory.operationType == '1' %} + {{ money_format(balanceHistory.amount) }} TL {% else %} - {{ money_format(balanceHistory.amount) }} TL {% endif %} {{ money_format(balanceHistory.availableBalance|default("0")) }} TL
{% endblock %} {% block javascripts %} {% endblock %}