Skip to content

Commit b50af44

Browse files
committed
BIC wrong tag, String.IsEmpty replaced
1 parent 340bc9b commit b50af44

File tree

3 files changed

+57
-57
lines changed

3 files changed

+57
-57
lines changed

Samples/XRechnungUnit1.dfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ object Form1: TForm1
190190
Width = 129
191191
Height = 53
192192
Caption = 'Ausgabeformat'
193-
ItemIndex = 1
193+
ItemIndex = 0
194194
Items.Strings = (
195195
'UBL'
196196
'ZUGFeRD')

intf.Invoice.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,7 @@ class function TInvoiceUnitCodeHelper.MapUnitOfMeasure(const _UnitOfMeasure: Str
497497
begin
498498
Result := _DefaultOnFailure;
499499
_Success := false;
500-
if _UnitOfMeasure.IsEmpty then
500+
if _UnitOfMeasure = '' then
501501
exit;
502502
if SameText(_UnitOfMeasure,'st') or SameText(_UnitOfMeasure,'stk.') or SameText(_UnitOfMeasure,'stk') then
503503
begin

0 commit comments

Comments
 (0)