X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=purchasing%2Fallocations%2Fsupplier_allocation_main.php;h=09610785bdfaf264e6ed33bf261e0b19e90609f1;hb=4deaa6ba6e084655989c30cfb7d9dd307408c7dc;hp=9d1cb8d9b238236d4ab99e340c5c9ec432b3c924;hpb=a001646bef2b971535791d4e67b8565684d6de24;p=fa-stable.git diff --git a/purchasing/allocations/supplier_allocation_main.php b/purchasing/allocations/supplier_allocation_main.php index 9d1cb8d9..09610785 100644 --- a/purchasing/allocations/supplier_allocation_main.php +++ b/purchasing/allocations/supplier_allocation_main.php @@ -88,6 +88,12 @@ function check_settled($row) } +$all_settled = !db_num_rows(get_allocatable_to_supp_transactions(get_post('supplier_id'))); +if ($all_settled) + display_note(''. + ($supplier_id ? _("There is no unsettled transactions for this supplier.") + :_("There is no unsettled transactions.")).'

'); + $sql = get_allocatable_from_supp_sql($supplier_id, $settled); $cols = array(