From: Joe Hunt Date: Mon, 15 Aug 2011 23:11:35 +0000 (+0200) Subject: 0000991: Default to premier bank account X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=e6831d2ea15b6fb7e64e58b44022687916ce06da;p=textcart.git 0000991: Default to premier bank account --- diff --git a/gl/includes/ui/gl_bank_ui.inc b/gl/includes/ui/gl_bank_ui.inc index 5a0124f..1ac37eb 100644 --- a/gl/includes/ui/gl_bank_ui.inc +++ b/gl/includes/ui/gl_bank_ui.inc @@ -93,7 +93,7 @@ function display_bank_header(&$order) table_section(3, "33%"); - if (!list_updated('bank_account')) + if (!$order->order_id && !list_updated('bank_account')) { if ($_POST['PayType'] == PT_CUSTOMER) $_POST['bank_account'] = get_default_customer_bank_account($_POST['person_id']);