Dear @Amit Kamdar sir and @drive ,@garima sir, I want to remove unwanted space in invoice print OR If the buyer paid me through the card so card tendered option will be automatically shown in below, I have added line as card tendered but not working properly, amount also shown if customer pay me cash, so I want also this option automatically came when customer pay me through card, see this demo screenshot here, please help me and see in it, card tendered amount shown me the same amount, the customer pays me directly cash, so the amount will be shown either blank or 0 /zero. how ??
@teja varma Bhai see this code, and help me, and tell me one more info, can I set page width or height as per stock item, means suppose one customer buy only one product, so bill size print will short as per stock item , more products means more size as per stock items, its very helpful for me, so how to set this see the code [Part:KA Invoice Sing Off] Part: KA Amount In Word and Declaration Vertical: Yes [Part:KA Amount In Word and Declaration] Line: KA Net Sales , KA Cash Tendered , KA Card Tendered , KA Balance in change , KA Amount In Word, , KA Declaration , [Line: KA Net Sales] Field: Simple Prompt,Simple Field Local: Field: Simple Prompt: Set as:"NET SALES : " Local: Field: Simple Field:Set as:$$CollAmtTotal:InventoryEntries:$Amount Local: Field: Simple Field:Format: "Symbol, No Zero," + ##ShowForex Local: Field: Simple Prompt: Border:Thin Bottom Right Local: Field: Simple Prompt:Full Width: Yes Local: Field: Simple Field: Space Left : 0.2 inch Local: Field: Simple Field: Border:Full Thin Bottom Local: Field: Simple Field: Full Width: Yes Local: Field: Simple Field: Style: P9 Local: Field: Simple Field: Line:0 Local: Field: Simple Field:Set Always : Yes [Line: KA Cash Tendered] Fields: Simple Prompt, Simple Field Local: Field: Simple Prompt: Set as:"CASH TENDERED : " Local: Field: Simple Prompt:Full Width: Yes Local: Field: Simple Prompt: Border: Thin Bottom Right Local: Field: Simple Field: Set as:$POSCashReceived Local: Field: Simple Prompt: Border:Thin Bottom Right Local: Field: Simple Prompt:Full Width: Yes Local: Field: Simple Field: Space Left : 0.2 inch Local: Field: Simple Field: Border:Full Thin Bottom Local: Field: Simple Field: Full Width: Yes Local: Field: Simple Field: Style: P9 Local: Field: Simple Field: Line:0 Local: Field: Simple Field:Set Always : Yes [Line: KA Card Tendered] Fields: Simple Prompt, Simple Field Local: Field: Simple Prompt: Set as:"CARD TENDERED : " Local: Field: Simple Prompt:Full Width: Yes Local: Field: Simple Prompt: Border: Thin Bottom Right Local: Field: Simple Field: Set as:$$CollAmtTotal:InventoryEntries:$Amount Local: Field: Simple Field:Set By Condition: ($$IsNegative:$$CollAmtTotal:InventoryEntries:$Amount) Local: Field: Simple Prompt: Border:Thin Bottom Right Local: Field: Simple Prompt:Full Width: Yes Local: Field: Simple Field: Space Left : 0.2 inch Local: Field: Simple Field: Border:Full Thin Bottom Local: Field: Simple Field: Full Width: Yes Local: Field: Simple Field: Style: P9 Local: Field: Simple Field: Line:0 Local: Field: Simple Field:Set Always : Yes [Line:KA Balance in change] Field: Simple Prompt,Simple Field Local: Field: Simple Prompt: Set as:"BALANCE IN CHANGE : " Local: Field: Simple Prompt: Border: Thin Bottom Right Local: Field: Simple Prompt:Full Width: Yes Local: Field: Simple Field: Set as:$POSCashReceived-$$CollAmtTotal:InventoryEntries:$Amount Local: Field: Simple Field:Set By Condition: ($$IsNegative:$$CollAmtTotal:InventoryEntries:$Amount) Local: Field: Simple Field: Space Left : 0.2 inch Local: Field: Simple Field: Border:Full Thin Bottom Local: Field: Simple Field: Full Width: Yes Local: Field: Simple Field: Style: P9 Local: Field: Simple Field: Line:0
1) if you want fixed height for inventory part (according to no of items) ->remove scroll attribute from that part 2)to get card amount ->$Amount:LedgerEntries:Last@IsPOSCardLedger