Advertisement
freddy0512

test

Nov 16th, 2016
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. if(substr(strtoupper($product), 0, 3) == "PLN")
  2. {
  3. $denom = substr(strtoupper($product), 3);
  4.  
  5. if(isset($params['type']) && $params['type'] == 'INQUIRY') {
  6. $product = "BPX.INQ.".$denom;
  7. } else {
  8. $product = "BPR.".$denom;
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement