var ctx = null;
// ön yüzde görünecek olan sayfaların default tanımları,
// aynı zamanda navigation == variablename eşit ise sayfa görünür
var screens = {
    masalar_screen: "MASA_SCREEN",
    transfer_screen: "TRANSFER_SCREEN",
    group_screen: "GROUP_SCREEN",
    cart_screen: "CART_SCREEN",
    menu_screen: "MENU_SCREEN",
    finish_screen: "FINISH_SCREEN",
    left_menu_screen: "LEFT_MENU_SCREEN",
    detail_screen: "DETAIL_SCREEN",
    edit_screen: "EDIT_SCREEN",
    appmode_screen: "APPMODE_SCREEN",
    adisyon_screen: "ADISYON_SCREEN",
    admin_screen: "ADMIN_SCREEN",
    login_screen: "LOGIN_SCREEN",
};


// uygulamanın hangi modda kullanılacağının default değerleri
var modes = {
    garson: "GARSON",
    user: "MUSTERI",
    kasiyer: "KASIYER",
    mutfak: "MUTFAK",
    mode: "MODE",
    admin:"ADMIN"
}

var icons = {
    add: '/Upload/icon/add_shopping_cart_white.png',
    back: '/Upload/icon/back_white.png',
    cancel: '/Upload/icon/cancel_white.png',
    cancel_black: '/Upload/icon/cancel_black.png',
    cart: '/Upload/icon/basket_white.png',
    edit: '/Upload/icon/edit_white.png',
    empty: '',
    delete: '/Upload/icon/delete_white.png',
    menu: '/Upload/icon/menu_navigation_grid.png',
    save: '/Upload/icon/save_white.png',
    search: "/Upload/icon/search_left2.png",
    selected: '/Upload/icon/donewhite.png',
    send: '/Upload/icon/send-white.png',
    sort: '/Upload/icon/sort_black.png',
    remove: '/Upload/icon/close_white.png',
    garsonCagir: '/Upload/icon/garson_cagir.png',
    compare: '/Upload/icon/compare.png',
    plus_black: "/Upload/icon/plus_circle.png",
    plus_white: "/Upload/icon/plus_circle_white.png",
    minus_black: "/Upload/icon/minus_circle_black.png",
    minus_white: "/Upload/icon/minus_circle_white.png",
    combine: "/Upload/icon/combine.png",
    transfer: "/Upload/icon/transfer.png"
};
var css = {
    col_3: "col-xs-3 col-sm-3 col-md-3",
    col_4: "col-xs-4 col-sm-4 col-md-4",
    col_6: "col-xs-6 col-sm-6 col-md-6",
    col_12: "col-xs-12 col-sm-12 col-md-12",
    col_xs_1: " col-xs-1 ",
    col_xs_2: " col-xs-2 ",
    col_xs_3: " col-xs-3 ",
    col_xs_4: " col-xs-4 ",
    col_xs_6: " col-xs-6 ",
    col_sm_1: " col-sm-1 ",
    col_sm_2: " col-sm-2 ",
    col_sm_3: " col-sm-3 ",
    col_sm_4: " col-sm-4 ",
    col_sm_6: " col-sm-6 ",
    col_md_1: " col-md-1 ",
    col_md_2: " col-md-2 ",
    col_md_3: " col-md-3 ",
    col_md_4: " col-md-4 ",
    col_md_6: " col-md-6 ",
    noPadding: " nopadding",
    padding_5: " padding_5 ",
    nospace: " nospace ",
};

var buttons = {
    add: "Ekle",
    addToBasket: "Sepete Ekle",
    cancel: "İptal",
    delete: "Sil",
    edit: "Düzenle",
    save: "Kaydet",
    remove: "Kaldır"
}
var messages = {
    masasec: "Lütfen önce masa seçiniz",
    removeallcart: "Sepetteki bütün ürünleri silmek istediğinize emin misiniz?",
    adisyonbulunamadi: " nolu masaya ait adisyon bulunamadı."
};

var text = {
    add: "Ekle",
    addnew: "Yeni Ekle",
    addToBasket: "Sepete Ekle",
    cancel: "İptal",
    delete: "Sil",
    edit: "Düzenle",
    update: "Güncelle",
    save: "Kaydet",
    remove: "Kaldır"
};
var actions = {
    edit: "Düzenle",
    add: "Ekle",
    update: "Güncelle",
    delete: "Sil",
    save: "Kaydet"
}

var filters = {
    dolu: "DOLU",
    bos: "BOS",
    tumu: "TUMU",
    yeni: "YENI"
};