recallOrders::recallOrders(QWidget* parent, const char* name, Qt::WFlags fl) : XMainWindow(parent, name, fl) { setupUi(this); connect(_recall, SIGNAL(clicked()), this, SLOT(sRecall())); connect(_showInvoiced, SIGNAL(toggled(bool)), this, SLOT(sFillList())); _showInvoiced->setEnabled(_privileges->check("RecallInvoicedShipment")); _ship->addColumn(tr("Ship Date"), _dateColumn, Qt::AlignCenter ); _ship->addColumn(tr("Order #"), _orderColumn, Qt::AlignLeft ); _ship->addColumn(tr("Shipment #"),_orderColumn, Qt::AlignLeft ); _ship->addColumn(tr("Customer"), -1, Qt::AlignLeft ); _ship->addColumn(tr("Invoiced"), _ynColumn, Qt::AlignCenter ); sFillList(); }
recallOrders::recallOrders(QWidget* parent, const char* name, Qt::WindowFlags fl) : XWidget(parent, name, fl) { setupUi(this); connect(_recall, SIGNAL(clicked()), this, SLOT(sRecall())); connect(_showInvoiced, SIGNAL(toggled(bool)), this, SLOT(sFillList())); connect(omfgThis, SIGNAL(invoicesUpdated(int, bool)), this, SLOT(sFillList())); _showInvoiced->setEnabled(_privileges->check("RecallInvoicedShipment")); _ship->addColumn(tr("Ship Date"), _dateColumn, Qt::AlignCenter, true, "shiphead_shipdate" ); _ship->addColumn(tr("Order #"), _orderColumn, Qt::AlignLeft , true, "number"); _ship->addColumn(tr("Shipment #"), _orderColumn, Qt::AlignLeft , true, "shiphead_number"); _ship->addColumn(tr("Customer"), -1, Qt::AlignLeft , true, "cohead_billtoname" ); _ship->addColumn(tr("Invoiced"), _ynColumn, Qt::AlignCenter, true, "shipitem_invoiced" ); sFillList(); }