I added an extension request to be able to add the salesID/Sales Quotation Id to the ChangeDue dialog in POS.
Microsoft came back with the following:
***
The change due dialog is overridable, you can show custom information before the change due dialog, override show dialog for sales id and then call the base request to show change due or combine the custom information and change due in the same custom dialog.
***
How is the ChangeDue dialog overridable? If I look in the Developer Tolls when running in Chrome, I see it is calling CashbackDialog and it is called ChangeDialog.
Looking in Pos.Controls I see the content folder paths:
name: "CashbackDialog" with path "Controls > Dialogs > Payments",
name: "ChangeDueDialog" with path "Controls > Dialogs > Cart",
name: "ChangeDialog" with path "Controls > Dialogs > Cart",
The title label on the dialog I'm presented with is Change Due (string_1816). So I assume I need to change the ChangeDueDialog.
However when I usually add columns to a view, I get the TS-file from SampleExtensions for those views that is extensible.
So how can I overwrite the ChangeDue dialog or the CashBack dialog if I don't have its HTML or its TS-file?
The only things I have to my disposal that I can see is the ShowChangeDueClientRequest/ShowChangeDueClientResponse and I tried it to add a dialog to display the salesID / Sales quotation Id. However POS is not very clear with its call to custom on the ShowChangeDueClientRequest/response and the PostCartCheckoutTrigger. we have custom on the latter as well. It looks like it is first running the custom on ShowChangeDueclientRequest/Response, then PostCartCheckoutTrigger and then the actual dialog for the ShowchangeDueClientRequest/Response. Our custom in PostCartCheckoutTrigger has prompts as well, so there is now mutliple dialogs popping up.
We just want to display on the changedue dialog the salesID too. So how can I accomplish that because Microsoft's reply just doesn't make sense