<ion-modal-view>
  <ion-header-bar>
    <h1 class="title">Cari Seç</h1>
    <div class="buttons">
      <b>{{ masa.customer ? masa.customer : 'SEÇİLİ CARİ YOK' }}</b>
    </div>
  </ion-header-bar>
  <ion-content>

    <div class="cari-body">
      <ion-list ng-repeat="subcustomers in customers">
        <ion-radio ng-model="masa.tempcustomer" ng-value="customer" ng-repeat="customer in subcustomers">{{ customer }}</ion-radio>
      </ion-list>
    </div>

  </ion-content>

  <div class="cari-footer">
  <button type="button" name="button" class="button button-assertive" ng-click="setCustomer(true)"><i class="ion ion-trash-a"></i><br>Cari İptal</button>
    <button type="button" name="button" class="button button-balanced" ng-click="setCustomer()"><i class="ion ion-person"></i><br>Cari Seç</button>
    <button type="button" name="button" class="button button-energized" ng-click="closeCariModal()"><i class="ion ion-close"></i><br>Kapat</button>
  </div>

</ion-modal-view>
