partner_location_id_from_ref
Get partner location id from partner id and location reference
Example
1
{{ '123' | partner_location_id_from_ref: '123' }} => 123
Input
Type | Parameter | Description | Required |
---|---|---|---|
int | partnerId | The ID of the partner. Comes before the | sign. | Required |
string | ref | The reference of the location |
Output
Type | Description |
---|---|
mixed | The location ID or null if not found |