list: menu: display: [allegro] fields: allegro: {name: "Zamówienia Allegro", action: stOrder/allegroList} custom_actions: list: [allegro] allegro_model_class: Order allegro_list: use_helper: [stOrder, sfGuardUser] display: [=number, created_at, opt_order_status, assigned_id, _is_payed, opt_allegro_nick, client, _total_amount, _order_auctions] hide: [assigned_id] fields: umber: {name: Numer, width: 1%} created_at: {name: Złożone, filterable: false, width: 1%} opt_order_status: {name: Status, callback: st_order_status_by_order, width: 15%} is_payed: {name: Opłacone, sort_field: order.opt_is_payed, filterable: false, width: 1%, align: center} opt_allegro_nick: {name: "Użytkownik Allegro", filterable: false, i18n: stAllegroBackend, width: 15%, params: truncate_text=true} client: {name: Klient, callback: st_order_client_name, filterable: false, width: 15%} total_amount: {name: Kwota, sort_field: order.opt_total_amount, filterable: false, align: right, width: 1%} order_auctions: {name: "Oferta Allegro", module: stAllegroBackend, i18n: stAllegroBackend} assigned_id: {name: Opiekun, width: 1%} menu: {use: list.menu} title: "Zamówienia Allegro" sort: [created_at, desc] mark_as: true object_actions: _edit: - _delete: - actions: [] filters: total_amount: {filter_field: order.opt_total_amount} assigned_id: {partial: filter_assigned} opt_order_status: {filter_field: order_status_id, order.partial: filter_order_status} is_payed: {filter_field: order.opt_is_payed} order_auctions: {partial: filter_order_auctions, module: stAllegroBackend} opt_allegro_checkout_form_id: {name: Numer zamówienia Allegro, i18n: stAllegroBackend, params: size=40} additional_filters: [created_at, order_product, total_amount, client, is_payed, opt_allegro_nick, opt_allegro_checkout_form_id] select_actions: display: "NONE": [] "Status": { callback: OrderStatusPeer::doSelectCachedArray, action: bulkStatusUpdate } "Opłacone": { actions: { 1: Tak, 0: Nie }, action: bulkPaymentStatusUpdate } actions: _delete: - peer_method: doSelectJoinOrderCurrency