mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-04 02:05:16 +02:00
Use [[PLACEHOLDER]] instead of %%PLACEHOLDER%% for label placeholders.
This commit is contained in:
parent
cb2d0d9845
commit
3163a7ba09
14 changed files with 80 additions and 78 deletions
|
@ -60,16 +60,16 @@ class PartLotProviderTest extends WebTestCase
|
|||
public function dataProvider(): array
|
||||
{
|
||||
return [
|
||||
['unknown', '%%LOT_ID%%'],
|
||||
['Lot description', '%%LOT_NAME%%'],
|
||||
['Lot comment', '%%LOT_COMMENT%%'],
|
||||
['4/13/99', '%%EXPIRATION_DATE%%'],
|
||||
['?', '%%AMOUNT%%'],
|
||||
['Location', '%%LOCATION%%'],
|
||||
['Parent → Location', '%%LOCATION_FULL%%'],
|
||||
['unknown', '[[LOT_ID]]'],
|
||||
['Lot description', '[[LOT_NAME]]'],
|
||||
['Lot comment', '[[LOT_COMMENT]]'],
|
||||
['4/13/99', '[[EXPIRATION_DATE]]'],
|
||||
['?', '[[AMOUNT]]'],
|
||||
['Location', '[[LOCATION]]'],
|
||||
['Parent → Location', '[[LOCATION_FULL]]'],
|
||||
//Test part inheritance
|
||||
['Part', '%%NAME%%'],
|
||||
['Part description', '%%DESCRIPTION%%'],
|
||||
['Part', '[[NAME]]'],
|
||||
['Part description', '[[DESCRIPTION]]'],
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue